Hi! I'm brand new to Rpgmaker so I'm definitely a noob. I'm working on a skill that requires an actor to have a certain state. If the actor has the state, the skill would remove the state, and use a certain damage formula - but if the actor is not affected by the state, it uses a separate damage formula. Here's what I have so far:
if (a.isStateAffected(55)) a.removeState(55); a.atk * 2 - b.def; else; a.atk * 1.5 - b.def
The issue is that it does 0 damage, regardless of the state's presence. I apologize for my noobliness haha, any help is appreciated. Thanks!
if (a.isStateAffected(55)) a.removeState(55); a.atk * 2 - b.def; else; a.atk * 1.5 - b.def
The issue is that it does 0 damage, regardless of the state's presence. I apologize for my noobliness haha, any help is appreciated. Thanks!