So I've been messing around for a while with damage formulas for some skills in my game and wanted to get a little creative with them. Some of them I've had deal massive damage, while lowering the users attack afterwards.
That's all fine and dandy, but what I've been trying to get to work is if an enemy is classified as a "Robot" then a character can use a unique skill to inflict a Paralyze like state on it without damaging it. But of course, I'm trying to get it to work solely on enemies that'd be considered a Robot.
The damage formula I've been using to try and make this possible is as so without quotation marks: "dmg = 0; b.elementRate(10) === 1; b.addState(11)"
For the most part this works... But there's a couple of problems. For starters, the state does get applied to the enemy target but it leaves it in a weird zombie like state where it keeps taking 0 damage overtime like a poison effect yet Paralyzed state has no such thing attached to it. Not only that, but using Yanfly's Visual HP Gauge plugin shows that the enemy HP isn't going down even when I hit it with powerful attacks that go over its max HP.
I'm no expert at making these types of damage formulas and I'm pretty sure there's something super obvious here that I'm missing and I'm just not remembering to put in here. not entirely certain if there's an easier way to accomplish this. :hswt:
That's all fine and dandy, but what I've been trying to get to work is if an enemy is classified as a "Robot" then a character can use a unique skill to inflict a Paralyze like state on it without damaging it. But of course, I'm trying to get it to work solely on enemies that'd be considered a Robot.
The damage formula I've been using to try and make this possible is as so without quotation marks: "dmg = 0; b.elementRate(10) === 1; b.addState(11)"
For the most part this works... But there's a couple of problems. For starters, the state does get applied to the enemy target but it leaves it in a weird zombie like state where it keeps taking 0 damage overtime like a poison effect yet Paralyzed state has no such thing attached to it. Not only that, but using Yanfly's Visual HP Gauge plugin shows that the enemy HP isn't going down even when I hit it with powerful attacks that go over its max HP.
I'm no expert at making these types of damage formulas and I'm pretty sure there's something super obvious here that I'm missing and I'm just not remembering to put in here. not entirely certain if there's an easier way to accomplish this. :hswt: