1) I have a state 'NulFire' that works exactly as it does in Final Fantasy X, where it negates one Fire-element ability used on the person with the state but I'm not 100% on the formula?
b.states().includes($dataStates[56]) ? 0 : Math.max((a.atk * 2.25) - b.def, 1);
'56' would be where it checks for the state but it doesn't seem to?
2) This one is supposed to deal more damage the lower the user's HP but doesn't seem to deal ANY damage?.
((b.hp.to_f / b.mhp) + 1).to_i * a.atk * 2.5 - b.def * 2, 1)
b.states().includes($dataStates[56]) ? 0 : Math.max((a.atk * 2.25) - b.def, 1);
'56' would be where it checks for the state but it doesn't seem to?
2) This one is supposed to deal more damage the lower the user's HP but doesn't seem to deal ANY damage?.
((b.hp.to_f / b.mhp) + 1).to_i * a.atk * 2.5 - b.def * 2, 1)