MV How can I make an attack bypass the guard flag (MV)

I am making an attack that deals lots of ally team damage but gives them a powerful buff, however I found out that guarding actually cuts the team damage in half.

I have tried using the remove state: guard but that didn't seem to work.
there are plugins to penetrate the guards buff/defends, which you might
be looking for.

I don't know if it is possible to bypass guard in general, but with a plugin,
you can ignore that guard easier.

YEP has battle plugins, but the one you need may be behind paywall.

You can look for any battle plugin or ignore guard/def plugins, depending
how your mechanic works or exactly do.
Since guarding just does a flat 50% reduction in damage you can just double the damage if the target is guarding.

b.isStateAffected(2) ? 2 * formula : 1 * formula

edit: Here's a forum link incase you need some more info
Since guarding just does a flat 50% reduction in damage
This is not correct. The guard effect divides the damage by 2 * b.grd – one of the special parameters. Furthermore, there's no rule that state 2 is the only state that applies a guard effect – guard effect is just another trait, one of the Special Flag options. You could even make equipment that applies the guard effect, or a class or actor that permanently benefits from it.

So, I'd recommend amending your formula to:

JavaScript:
(b.isGuard() ? 2 * b.grd : 1) * (formula)

Replace "formula" with the rest of your damage formula and paste the result into the formula box.
Wait...

Sorry if I'm slow to the party, but I just want to understand.

So if a group attack hits the party and ANY ONE of them is guarding, the damage is reduced to ALL targets?!

If that happens, I'd consider it a bug.
So if a group attack hits the party and ANY ONE of them is guarding, the damage is reduced to ALL targets?!
No. The one who's guarding has incoming damage reduced. If the others aren't guarding, they'll take normal damage.
Phew... Ok.

So the OP just want a way to bypass that damage adjustment.

Got it.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-an-attack-bypass-the-guard-flag-mv.182332/