I don't know how this happened. Does anyone know what the fix would be?
Error screen on counter usage
RPG Maker MV SupportAssuming you're using yep counter control, it looks like you're trying to do elemental counters, in which case you need to add "Element", not just Ice.
Not seeing anything wrong with the secon image right now.
Not seeing anything wrong with the secon image right now.
When I use "Element: Ice", it just fails to use the counter skill.
Edit: Nevermind, apparently trying to apply a stat debuff in the damage formula makes it brick. Gonna have to find another way to do it.
Well, the <Hit Counter> Notetag for example is not a skill notetag.
I suggest taking a look at the instructions.
I suggest taking a look at the instructions.
I figured out the issue, thanks for the help though.
For the benefit of future readers: that error message generally means that a gauge has been assigned a non-numerical (or infinite) value. Your counter-skill's damage formula ends with the statement
Also, you should generally be careful about "doing" things in a damage formula: it's only designed for calculating a value. E.g. if this skill were made available to an actor with an Autobattle trait, the debuff would be applied to the user every time they considered using it (once per potential target). I notice you're using YEP_SkillCore...that plugin has notetags like
a.addDebuff(3,4). That will cause the formula to return the value undefined, which means the target's HP will become undefined, hence the error. 👋Also, you should generally be careful about "doing" things in a damage formula: it's only designed for calculating a value. E.g. if this skill were made available to an actor with an Autobattle trait, the debuff would be applied to the user every time they considered using it (once per potential target). I notice you're using YEP_SkillCore...that plugin has notetags like
<Post-Damage Eval> designed for extra effects like self debuffs etc.Original thread: https://forums.rpgmakerweb.com/threads/error-screen-on-counter-usage.175435/