Hello, so, I am trying to create an ability that does more and more damage based on how many "states" the enemy current has on it.
I currently use one that looks like this:
b.state?(2) ? r = a.atk*7; r = a.atk*2; r - b.def *2
This makes it so that if the enemy has state#2 (poison) it takes (atk*7) in damage, otherwise it only does (a.atk*2).
Now, my goal is to try and make an ability that does damage like so:
a.atk*3 = base damage
a.atk*5 = with X state on target
a.atk*7 = with X and Y state on target
a.atk*9 = with X, Y, and Z state on target
Is this possible? If, so, can anyone show me how to accomplish this?
Thanks for the help!
I currently use one that looks like this:
b.state?(2) ? r = a.atk*7; r = a.atk*2; r - b.def *2
This makes it so that if the enemy has state#2 (poison) it takes (atk*7) in damage, otherwise it only does (a.atk*2).
Now, my goal is to try and make an ability that does damage like so:
a.atk*3 = base damage
a.atk*5 = with X state on target
a.atk*7 = with X and Y state on target
a.atk*9 = with X, Y, and Z state on target
Is this possible? If, so, can anyone show me how to accomplish this?
Thanks for the help!