I will attempt to explain this as clearly as I can as it might be a bit confusing as this isn't something I have seen asked on here much (if at all).
My game treats EXP and gold as the same thing, it is your experience and your currency, and on death, I have a common event that sends you back to the main hub and you lose all your EXP and your gold which means your progress to the next level and your currency are depleted as punishment for dying.
The issue I am having is I don't know how to set my event to only remove enough EXP to reset progress to the next level depending on how much EXP the player has, so I set it to remove 999999 EXP on death which works fine, except it resets the player to level 1.
Is there a way I can disable levels being lowered, so that the player can't abuse the system to get stats point very quickly and at a high amount by defeating enemies that give lots of EXP since they keep their stats that they levelled up? Or a variable I can set that only removes the exact EXP to the next level?
My game uses SRD stat distribution for reference. If you need to know what other plugins I am using just ask I will provide you with whatever you need to know. Have a good one.
My game treats EXP and gold as the same thing, it is your experience and your currency, and on death, I have a common event that sends you back to the main hub and you lose all your EXP and your gold which means your progress to the next level and your currency are depleted as punishment for dying.
The issue I am having is I don't know how to set my event to only remove enough EXP to reset progress to the next level depending on how much EXP the player has, so I set it to remove 999999 EXP on death which works fine, except it resets the player to level 1.
Is there a way I can disable levels being lowered, so that the player can't abuse the system to get stats point very quickly and at a high amount by defeating enemies that give lots of EXP since they keep their stats that they levelled up? Or a variable I can set that only removes the exact EXP to the next level?
My game uses SRD stat distribution for reference. If you need to know what other plugins I am using just ask I will provide you with whatever you need to know. Have a good one.