Hi everyone.
I've been looking for a way to create a skill that's automatically cast on low health (25% for example). I've been trying with yanfly's counter control to no avail so far.
The mechanics are as follows: I created a piece of armor with a 100% ex counterattack effect that has a counter skill notetag set to it. The skill itself is a Protect spell with no cost that adds the 'Protect state'. The skill also turns on a switch so that it can only be triggered once per battle (the switch is turned off at the end of each battle). I'm following the notetags included in the plugin notes but I cannot get it to trigger the counterattack when the ally's HP falls below 25% (it only triggers a normal counterattack). The notetags are as follows:
I wasn't really sure if the "defender" in the notetags is the one who is countering or a possible target for a counter, so I tried with attacker hp but it didn't work either. I've read somewhere that some notetags for this plugin were not working properly so I purchased the latest plugin version (1.10), but it's still not working. The problem lies in the conditions, if I get rid of them the counter works, just not under the conditions that I want.
I'd like this to remain as a counter as much as possible since it allows an instant cast right after the battler's health falls below this critical threshold, if that makes any sense.
I've been looking for a way to create a skill that's automatically cast on low health (25% for example). I've been trying with yanfly's counter control to no avail so far.
The mechanics are as follows: I created a piece of armor with a 100% ex counterattack effect that has a counter skill notetag set to it. The skill itself is a Protect spell with no cost that adds the 'Protect state'. The skill also turns on a switch so that it can only be triggered once per battle (the switch is turned off at the end of each battle). I'm following the notetags included in the plugin notes but I cannot get it to trigger the counterattack when the ally's HP falls below 25% (it only triggers a normal counterattack). The notetags are as follows:
<Counter Name: Protección>
<Counter Condition>
switch 120 off
defender hp <= defender.mhp * 0.25
</Counter Condition>
<Follow action>
change switch 120: on
</Follow action>
<Counter Condition>
switch 120 off
defender hp <= defender.mhp * 0.25
</Counter Condition>
<Follow action>
change switch 120: on
</Follow action>
I'd like this to remain as a counter as much as possible since it allows an instant cast right after the battler's health falls below this critical threshold, if that makes any sense.