Here's my issue: I'm trying to make an attack to more damage if a foe is poisoned (state 55) or severely poisoned (state 56). This is what I have in my damage formula:
b.states.include?(55,56) ? (a.atk * 5 - b.def * 2) : (a.atk * 3 - b.def * 2)
But regardless of if the foe is poisoned it still does no damage. Can anyone help?
b.states.include?(55,56) ? (a.atk * 5 - b.def * 2) : (a.atk * 3 - b.def * 2)
But regardless of if the foe is poisoned it still does no damage. Can anyone help?