Hey there. I'm having some trouble with a custom formula of mine. I want the skill to cause recoil damage and make the attack less powerful as HP decreases. As two separate skills this is fine and easy, but together I run into errors, I either get an error or it only factors in one part. Here are the formulas for each:
Damage lessen on HP loss: c=a.atk;[c*2*a.hp_rate,c/2].max
Recoil Damage: c=5 * a.atk - 2 * b.def;a.hp -= c/2;c
Thanks
Damage lessen on HP loss: c=a.atk;[c*2*a.hp_rate,c/2].max
Recoil Damage: c=5 * a.atk - 2 * b.def;a.hp -= c/2;c
Thanks