Hi, I use Yanfly's plugin packs (including YEP_X_CounterControl). I just want to check if my actor has successfully performed a counter-attack, just like we check a successfully "evade" and "miss" via "result().evaded" or "result().missed". I tried this with ChatGPT but it did not work the way I wanted.
Could anyone help me with this?
what i mentioned are examples, but so long as the skill causing the effect to activate is triggered as a counter attack it should be fine
what is the full note tag you tried and what did you want to happen?
What you have works. i didnt see anything wrong with it and tried it myself to be sure.
and you are sure that have the this on the correct battler and are using the right notetag?
deselect effects activate when the battler is targeted. this state is on an a battler and youre expecting that when this battler hits an opponent and gets counterattacked, the battler with the state gains state 224, right?
I use Deselect Effect because my actor can counter even on a missed attack, so Deselect will ignore if it hits or misses. So in general, my purpose should be:
- Opponent attacks my actor
- My actor counter the opponent's attacks
=> At this time, trigger the condition check if the counter-attack is triggered. If it is true, then add the state to the actor.
So you mean I should put that note tag to the enemy attacking my actor? Is there a way to give the note tags to the defender (my actor)? Because I have an item that boosts 50 ATK when successfully countering an attack.
Okay thanks guys. Let me try with the confirm effect.
Thanks guys! I made it work by following your suggestion!