#help with level
1 messages · Page 1 of 1 (latest)
When they receive enough to level up more than once they only level up once?
That could be because if you set the xp to 0 or delete it
Remove the required amount instead
I wont give handouts
But ill give a example
set {_xp} to 200
if {_xp} >= 100:
delete {_xp}
add 1 to {_level}
#the above example will only trigger once, and take ALL the xp```
set {_xp} to 200
while {_xp} >= 100:
Remove 100 from {_xp}
add 1 to {_level}
#the above example will activate multiple times```