|
seems u call the receive damage functions multiply as well as the skill itself, if so then u need to edit the damage calculations at the skill case ,
calculate the first hit damag as dmg1
if attacked.hp > dmg1 then calculate the second hit damage as dmg2
if attacked.hp> dmg1+dmg2 calculate the third hit damage as dmg 3
and so on
then call the receive damage void as receivedamage(dmg1+dmg2+dmg3)
|