How to activate an Counter Skill BEFORE taking damage? (MV)

● ARCHIVED · READ-ONLY
Started by Uzuki 3 posts View original ↗
  1. Hey everyone, I'm having a bit of a issue with a skill I'm trying to set up. In my game shields replace counter attack skills and instead inflict the Guard state on the user and they will take less damage. The problem is that I can't get the counter skill to activate until after a character takes damage, when I need it to activate BEFORE damage is inflicted. Is there anyway that I can set this up? If it helps I am using Yanfly's Counter Control plugin. Thank you in advance!
  2. When I need something to happen just before damage, I use Yanfly State & Buff Core. It has this tag:

    <Custom Confirm Effect>
    code
    code
    </Custom Confirm Effect>
    This effect will run when the battler connects a hit and before damage execution occurs. This effect will run after

    You have to create a state first but might be what are you looking for.
  3. @Magusalfador Could you give me the code to add an state too, if you wouldn't mind? I thought add state: 2 would be it, but it doesn't work.