EDIT: Looks like the best solution here is to download Yanfly's Action Begin/End Plugin and apply the State to the user through <End Action: Add State x>.
Currently, I'm trying to create a Skill that seems simple, but is proving to be a bit complicated to implement. In short, this Skill applies a State to the enemy targeted by the Skill, while also applying a separate State to the user. The threads I've encountered so far with people attempting similar things are usually met with the easy answer of applying the user's State through the Skill's damage formula (so something like a.addState(11); [damage formula]) - however, by not including any actual damage in the formula, this ends up applying both States and then subsequently making all enemies affected by the Skill not lose HP upon taking damage.
I have also tried achieving this effect through two separate Common Events which each have their own problem, either through Force Action causing the user to use a separate Skill immediately after (which is a bit messy, as it involves 2 separate actions - I'd rather the one action apply both States), or though Change State, which requires a specific target which can't simply be "User" or "Target".
Is there something I'm missing here? Some way to not have damage in the damage formula without breaking the game? Some way to use Common Events to apply States more flexibly? Any help would be appreciated.
For what it's worth, I'm using pretty much every Yanfly Core plugin (or, at least those related to combat), and can add any other plugins if needed.
Currently, I'm trying to create a Skill that seems simple, but is proving to be a bit complicated to implement. In short, this Skill applies a State to the enemy targeted by the Skill, while also applying a separate State to the user. The threads I've encountered so far with people attempting similar things are usually met with the easy answer of applying the user's State through the Skill's damage formula (so something like a.addState(11); [damage formula]) - however, by not including any actual damage in the formula, this ends up applying both States and then subsequently making all enemies affected by the Skill not lose HP upon taking damage.
I have also tried achieving this effect through two separate Common Events which each have their own problem, either through Force Action causing the user to use a separate Skill immediately after (which is a bit messy, as it involves 2 separate actions - I'd rather the one action apply both States), or though Change State, which requires a specific target which can't simply be "User" or "Target".
Is there something I'm missing here? Some way to not have damage in the damage formula without breaking the game? Some way to use Common Events to apply States more flexibly? Any help would be appreciated.
For what it's worth, I'm using pretty much every Yanfly Core plugin (or, at least those related to combat), and can add any other plugins if needed.