VitoxMaster
Well-Known Member
- Joined
- Feb 6, 2023
- Messages
- 118
- Solutions
- 5
- Reaction score
- 87
VitoxMaster submitted a new resource:
Player function - add magic level keeping progress - A clean, reliable +x magic level function that preserves your progress.
Read more about this resource...
Player function - add magic level keeping progress - A clean, reliable +x magic level function that preserves your progress.
I wanted to give a great reward to players who complete the Ferumbras Quest on my server by granting them +1 magic level.
The problem is that the standard addMagicLevel function fills the entire progress bar to the next level.
Because of that, the reward is unbalanced — players with 0% progress get a full level, while players who already had 95% progress only gain that 5%.
Result:
Add code below to the file:
...Code:lib/core/player.lua
Read more about this resource...