In a game I'm working on I have this skill which is supposed to deal a fixed 60 damage. This works fine when a party member uses it, but when an enemy uses it the skill instead does 30 damage. Does anyone know why this happens and how to fix this?
Problem with fixed damage skill.
RPG Maker MZ SupportIn a game I'm working on I have this skill which is supposed to deal a fixed 60 damage. This works fine when a party member uses it, but when an enemy uses it the skill instead does 30 damage. Does anyone know why this happens and how to fix this?
Check if you have physical resistance of 50%, or if you got physical skills set to do 50% damage to the actor.
Otherwise if you are using VS Battle Core check your damage styles. The default one sets it so your formula is just the power level of the skill, and it does other stuff behind the scenes. You have to change those away from default to make skills do flat damage and such.
Otherwise if you are using VS Battle Core check your damage styles. The default one sets it so your formula is just the power level of the skill, and it does other stuff behind the scenes. You have to change those away from default to make skills do flat damage and such.
Good advice. It should be your first go-to when something in your game behaves in an unexpected way, turn off your plugins to see if it still does that.
(don't forget to save project, start a new game)
Okay I feel really stupid now. I was guarding while playtesting and that's why I was taking half damage. Is there a way for a skill like this to bypass guarding?
Not by default that I know of, as it kinda defeats the point of guarding as it is implemented in engine. There might be a plugin to do it.
You could multiply the damage by 1 + the target's guard power if the target is defending
I have not tested it, but from what I remember you should be able to scrap the damage formula and instead use a "Recover HP" effect of -60, which does not use any modifiers.
If you specifically want to disable the guard effect, the easiest way would probably be a plugin, as bgillisp said.
Assuming you are using the default guard formula you could try to compensate the guard effect in the damage formula itself:
(original formula) * (b.isGuard() ? 2 * b.grd : 1)
Edit: Too slow, and I may have misremembered the guard effect formula. Use whatever works.
If you specifically want to disable the guard effect, the easiest way would probably be a plugin, as bgillisp said.
Assuming you are using the default guard formula you could try to compensate the guard effect in the damage formula itself:
(original formula) * (b.isGuard() ? 2 * b.grd : 1)
Edit: Too slow, and I may have misremembered the guard effect formula. Use whatever works.
The recover effect should work if you don't want to worry about plugins too.
The formula will work as long as the guard effect is always 100%. The formula for it is:
damage * (1/(1+guard effect)). So 100% = 1/2 damage, 200% is 1/3 damage, and so on.
Might be able to edit that though and use what another Fen suggested?
The formula will work as long as the guard effect is always 100%. The formula for it is:
damage * (1/(1+guard effect)). So 100% = 1/2 damage, 200% is 1/3 damage, and so on.
Might be able to edit that though and use what another Fen suggested?
its why i suggested
so when you end up multiplying the damage by 1+b.grd, itd cancel out the * (1/(1+b.grd))
Original thread: https://forums.rpgmakerweb.com/threads/problem-with-fixed-damage-skill.169609/