I'm trying to make an hp drain buff, like a dark knight blood weapon skill from FF, is there a way to make this on MZ? I made a state that last 5 turns to act as the buff for blood weapon and a formula. when i test it, buff less i do the normal attack damage on the attack skill, but when i have the buff it heals but doesn't do any damage.
a.atk * 4 - b.def * 2 && a.isStateAffected(41) ? a.gainHp((a.atk * 4 - b.def * 2)/2) : a.atk * 4 - b.def * 2
Is there a plugin or something in the formula I'm missing? only drain life stuff I find are plugins for MV or formulas for VX.
a.atk * 4 - b.def * 2 && a.isStateAffected(41) ? a.gainHp((a.atk * 4 - b.def * 2)/2) : a.atk * 4 - b.def * 2
Is there a plugin or something in the formula I'm missing? only drain life stuff I find are plugins for MV or formulas for VX.