So I'm trying to make it so that whenever a specific character (actor 2 in this case)
is targeted with a healing ability or item, that they increase a variable, (variable 80) turn on a switch, (switch 128)
which triggers a common troop event.
Plugins that I'm using relevant to what I'm trying to code:
Yanfly's battle core
Auto passive states:
Buffs and states core
Common troop events
I'm assuming a hidden passive state will work, but I'm pretty sure the problem is the code I'm putting in the conditionals
before the variables to check for healing, or possibly I'm choosing the wrong tag again. Also, I'm not sure if this only checks for a healing skill or item as well. Either way, it doesn't appear to be working and I'm not sure what I'm missing. I don't have the conditional stating specifically actor 2 has to be targeted, but since this is the only actor who will have the passive state, it should still work okay?
I tried this:
And when that didn't work, I tried this.
is targeted with a healing ability or item, that they increase a variable, (variable 80) turn on a switch, (switch 128)
which triggers a common troop event.
Plugins that I'm using relevant to what I'm trying to code:
Yanfly's battle core
Auto passive states:
Buffs and states core
Common troop events
I'm assuming a hidden passive state will work, but I'm pretty sure the problem is the code I'm putting in the conditionals
before the variables to check for healing, or possibly I'm choosing the wrong tag again. Also, I'm not sure if this only checks for a healing skill or item as well. Either way, it doesn't appear to be working and I'm not sure what I'm missing. I don't have the conditional stating specifically actor 2 has to be targeted, but since this is the only actor who will have the passive state, it should still work okay?
I tried this:
And when that didn't work, I tried this.