Hi, I'm wondering why is my lua script not working, more precisely, this part:
I'm using very similar formula in order to change character's level and it works fine
This maglevel line adds like 1 or 0,99 of mlvl but nothing else happens. I have to cast 'exura' manually to get next lvl.
I've checked lua documentation of my release (tfs 8.54) and both doPlayerAddMagLevel and getPlayerMagLevel are finished (not marked as // TODO)
Code:
doPlayerAddMagLevel(cid, getPlayerMagLevel(cid) * (-1) + 70)
I'm using very similar formula in order to change character's level and it works fine
Code:
doPlayerAddLevel(cid, getPlayerLevel(cid) * (-1) + 120, 1)
This maglevel line adds like 1 or 0,99 of mlvl but nothing else happens. I have to cast 'exura' manually to get next lvl.
I've checked lua documentation of my release (tfs 8.54) and both doPlayerAddMagLevel and getPlayerMagLevel are finished (not marked as // TODO)