Greetings,
I am trying to create a skill that has varying effects depending on what States you have active on the target. In this example, if the target has state 34 and state 70, I want the skill to deal triple damage. I know that part is all working fine, as I've tested it with a different conditional branch.
My issue is that for whatever reason, my conditional branch script to check if the target has a state is not functioning. I'm probably missing something silly and simple but I've been at this for hours now and scoured the net and can't figure this out for the life of me.
Here is the event:
Whenever I try to use the skill in a battle, I get a console error:
I'm very confused as to why isStateAffected is throwing an error for being undefined, and yet I can use a regular conditional branch event command to check if an enemy has a state just fine.
Is there something special I need to be doing to get this script to work?
Any help would be greatly appreciated 🙂. Thank you in advance,
-Niniann
I am trying to create a skill that has varying effects depending on what States you have active on the target. In this example, if the target has state 34 and state 70, I want the skill to deal triple damage. I know that part is all working fine, as I've tested it with a different conditional branch.
My issue is that for whatever reason, my conditional branch script to check if the target has a state is not functioning. I'm probably missing something silly and simple but I've been at this for hours now and scoured the net and can't figure this out for the life of me.
Here is the event:
Whenever I try to use the skill in a battle, I get a console error:
I'm very confused as to why isStateAffected is throwing an error for being undefined, and yet I can use a regular conditional branch event command to check if an enemy has a state just fine.
Is there something special I need to be doing to get this script to work?
Any help would be greatly appreciated 🙂. Thank you in advance,
-Niniann