Quote:
Originally Posted by LegalConquer
i fixed exp skills now but superman never ends / doesnt do its making attacks stronger effect as well...
|
Wow what source are you using that xp skills are so poorly coded?
You need to remove the superman/cyclone over time using some sort of a check and raise it whenever you kill a monster while in that state.
As for making attacks stronger, go to the attack calculation and so something along the lines of
if(CSocket.Client.Superman)
Damage = Damage * 9.9
then continue on with the attack calculations as they are. Most sources use 9.9 x instead of 10x to force it back into a double so that the other calculations will handle it better but you could just as easily force the conversion so that errors wont pop up. Either way works though.