A way for a battler to counter when another battler is attacked?

● ARCHIVED · READ-ONLY
Started by Anarcho-paladin 5 posts View original ↗
  1. Hi!

    I'm looking for a way to have a battler (bodyguard) to counter when his allies (protectees... can I say that in english...?) are hit. The way I understand Yanfly's Counter Control plugin, this option doesn't exist. From the help file:

    <Ally Counter> Makes this action able to proc counter skills by allied members.
    <Ally Cannot Counter> Makes this action unable to proc counter skills by allied members.

    There may be a language issue here, but the way I understand it, this is a way to have other battlers counter for a specific battler, while I would want to have the opposite, having a battler able to counter for every other battler.

    Is there a way to do this?

    Thanks!
  2. That notetag is for a battler to be able to use their counter skill to an ally when that ally uses a counter-able skill against the battler (Never used it before though, so don't take my word for it)
    For your needs, I don't think it's possible in an easy, straightforward way. I think counter is checked when that battler takes a hit and won't be checked otherwise. Why not let the bodyguard take the hit instead? (ie. Taunt, use Target Rate, etc.)

    If you still want to do this, though, your (possibly only) hope - other than using another plugin - is by using this notetag:
    Code:
    <Custom Counter Rate>

    And by using this logic (pseudocode):
    Code:
    members = $gameParty.members();
    for every member in members
        if not member.result().missed then rate = 1;

    I didn't know if it will work though, or whether setting it to 1 will cause it to counter, no matter who's being attacked.
  3. @mmgfrcs: Thanks a lot, I'll try this.

    Sorry for the newbie question, though, but where do I write this pseudocode...? In a skill, a state, a class or a character note box?
  4. Uh... correction. I made a mistake on the notetag, because that notetag is for the target, not the user
    You'll probably need another plugin to do this then. I can't see any way to do it only with Counter Control (maybe I'm just blind, but...)
    The logic still stands though, and pseudocode isn't meant to be written as code. It's just explaining logic.
  5. I see... A shame I don't know how to code, then... As my bodyguard already has some skills using the taunt status, I'm gonna look for something else.

    Anyway, thank you very much.