Hey guys, I am having a bit of a problem coming up with a working damage formula for a detonation spell and would like some help. Here's what I am trying to do:
IF (enemy has state "burn") THEN (deal magic damage x 2) AND (remove state "burn") ELSE (deal magic damage x1)
I'm having trouble with the AND part specifically, fitting multiple THEN effects into my formula before the else.
The formula looks like this but I am unsure of which symbol to use for AND:
b.isStateAffected(13) ? (100 + a.mat * 4 - b.mdf * 2) b.removeState(13): (100 + a.mat * 2 - b.mdf * 2)
Any assistance is appreciated!
IF (enemy has state "burn") THEN (deal magic damage x 2) AND (remove state "burn") ELSE (deal magic damage x1)
I'm having trouble with the AND part specifically, fitting multiple THEN effects into my formula before the else.
The formula looks like this but I am unsure of which symbol to use for AND:
b.isStateAffected(13) ? (100 + a.mat * 4 - b.mdf * 2) b.removeState(13): (100 + a.mat * 2 - b.mdf * 2)
Any assistance is appreciated!