So I'm creating my RPG game, but I want to manipulate a feature,
the damage system, specifically the "miss" system.
How can I make it so that when an attacker misses a hit
they recieve 20% damage of the initial attack they used?
Thanks in advance for any advice
🙂
Would this only apply to misses with standard attacks or with anything that has a chance to miss?
See my below message please.
You could do this with Yanfly's Skill Core but it would require a pre-damage eval notetag for every ability that has a chance to miss.
It'd be the <pre-damage eval></pre-damage eval> notetag. Basically you would check whether the target's result().missed was true, and if so make the attacker take 20% of value in damage as well.
Notetag in the notebox for a skill rather than a common event, but yes.
Ah, looks like in order to be able to check whether the skill missed or was evaded, you need to use Action Sequences. Skill Core can't do that because before eval happens before missing/evading is checked, and pre-damage eval only runs if the skill wasn't evaded and didn't miss.