I'm looking for some possibly advanced damage formula help. I am trying to use the Damage Formulas 101 guide, but I can't seem to get it right. Here is what I have so far:
b.elementRate(23) >== 1 ? a.addState(67); (a.atk * a.atk / b.def * 2) : (a.atk * a.atk / b.def * 2)
What I want is to check if the enemy is weak to element 23, then the user of the skill gets state 67 if the enemy is weak. And I want the damage done to be the same either way. Basically, if the user hits an enemy weakness, they get a state added. Any advice? When I use the skill like this it just does 0 damage and no states are added.
b.elementRate(23) >== 1 ? a.addState(67); (a.atk * a.atk / b.def * 2) : (a.atk * a.atk / b.def * 2)
What I want is to check if the enemy is weak to element 23, then the user of the skill gets state 67 if the enemy is weak. And I want the damage done to be the same either way. Basically, if the user hits an enemy weakness, they get a state added. Any advice? When I use the skill like this it just does 0 damage and no states are added.