Alternative Guard Formulas?

I know, I know...why change something if it ain't broken? Well, I'm just kind of bored of Guard simply cutting the damage dealt in half. Instead, I think it would be better if DEF increased the amount of damage blocked or something along those lines. What are some alternative formulas for the Guard effect that you guys have tried/thought of? Or, perhaps remove the default Guard altogether?

For example, this makes a Guarded unit's DEF reduce the amount of damage by a flat amount:
damage - (damage > 0 && target.isGuard() ? target.def : 0)
Notice how it doesn't utilize GRD at all. That's what I meant by removing Guard, as in the GRD sparam. But I'm still not totally satisfied with it. So I'd love to see other interesting approaches. Feel free to either include or exclude GRD in your formula(s).

Edit: On a side note, I'm also toying with the idea of removing Guard as a command/action. Instead, only units equipped with a Shield can use Guard, not just as an action, but also as a passive state that gives a % chance to Guard automatically. Aka, a "Block" mechanic in which the proc chance may be governed by Dexterity AGI but the amount of damage blocked being governed by Constitution DEF. In this way, I could add a similar feature for units w/o Shields and call it "Parry", giving those units a chance to utilize the "Guard" flag to dissipate damage, albeit to a lesser degree. But before I even consider such things, I first need to explore some different Guard formulas.
Most basic approach I would use is to have guard reduce by a RANDOM amount. If I really wanted to get into it (if I was using a semi-realistic approach), I would have it take into account what the character is guarding WITH (weapon? two weapons? small buckler? huge tower shield?), as well as what kind of attack they were guarding against. Guarding with weapons is alright for most physical attacks, not so much against a fireball. That sort of thing.

Guard's default behavior is coded into the engine, not the editor, so of course I'd need to modify the code or put all of that into damage formulas. Given that I'm decent with code I'd obviously pick that option and write my own behavior.

I haven't had to mess with attack formulas and behaviors much (yet), but off the top of my head, that's what I would likely attempt.
Oh yes, I really like it when different equipment matters. That's why I'm considering that Block and Parry mechanic I mentioned (edited OP). A Block should reduce damage far more so than a Parry would. Luckily, I'm totally comfortable with editing anything hardcoded as well, so that won't be an issue. Btw, why reduce damage by a RANDOM amount? Is it just for realism's sake? Cuz that certainly makes the most sense. But gameplay-wise, I should probably avoid RNG as much as possible due to the genre of my project (tactical RPG).

I also considered the default Yanfly formula:
damage / (damage > 0 && target.isGuard() ? 2 * target.grd : 1)
Which basically doubles GRD and then divides damage by that value. Assuming GRD ≥ 1, this makes Guard reduce damage by 50-n%, where n = 75% if GRD is 2 and n = 83% if GRD is 3. Thus, diminishing returns. That's mostly why I'm looking for a different formula.
That looks...really fancy haha. Putting the guard in a damage formula!

I am not so fancy. I still use the guard state. It increases defenses by 50% - doesn't flat out reduce damage, rather, it buffs the character.
I also give each character a different guard skill, so on top of increasing defenses:
-10% HP recover (actually amounts to ~14% with character passive)
-7% HP & MP recover
-12% HP recover & +10% critical evasion while guarding
-7% HP recover and adds a shield equal to 10% max HP

I wanted to make the guard skills simple, but still useful. Nothing overly complex to plan around, and a good option if you need a breather. Plus, if you want to poison/bleed/burn the enemy and just spam guard until it takes itself out, you get some free, no-cost heals!

I feel that, no matter how complex you want your battle system to be, guarding shouldn't be difficult haha. It's...guarding. Doing nothing for the turn. It needs a good benefit, if the player is going to sacrifice a turn like that.
Looking at your proposed guard formula, if I saw that in a game - or even a message saying 'guard reduces damage taken according to your defense!' - I'd never use it. Why wouldn't I just raise my defense through armour or buffs? That way I get to keep my attacking turn.

It's okay to make guard impactful 🙂 Otherwise, it'll never get used. Using guard has a huge cost already associated with it - the loss of a turn. That's quite a sacrifice! I as a player would expect something worthwhile from it.

Oh, and on your point about diminishing returns, I suspect the reason is because otherwise, you hit 0 on damage very quickly. And if you're going to allow damage to reach 0 that fast, why worry with a complicated formula in the first place? Buff the defenses. Simple and effective 😛
What if guard also acted as a buff for some skills? like being able to trigger extra effects after the guard turn.
It all depends on the kind of fantasy you want to have, so ask yourself: What is the fantasy I want to achieve?

At its core, "Guard" instructs the battler to stand still, brace for impact, and by doing so reduce incoming damage (anticipation made it likely that critical spots are not hit, receives less impact, etc). You can deviate from it if you wish, but I must advice against making too radical a change of guard formulas. I can see why vanilla guarding could be boring, but it is a mechanically sound function, and if in a pinch players can assume using it will make it worth.

Instead, I think it would be better if DEF increased the amount of damage blocked or something along those lines. What are some alternative formulas for the Guard effect that you guys have tried/thought of? Or, perhaps remove the default Guard altogether?
I advise against this, simply because players will find only characters with high DEF to make use of guarding, and if you don't have a Taunt mechanic, players may forgo guarding altogether.

I think your problem stems from the fact that you don't like [Guard] as it is. If you are aiming for field-focus combat where positioning is important, [Guard] will naturally be useless. Even in D&D, guarding only makes you less likely to be hit, so it's just an increase in EVA and MEV, unless the attack can't miss, so it does half damage on such instances. I guess that'd be my answer for you, then.
Pulled directly from this one's game:


Guard

Lasts until end of turn.
+66% Damage Reduction
+150% Taunt
+100% Defense (+25% gravity resistance)
+10% Counter
-100% Evasion and Magic Evasion
Knock Down Immunity (with 25% resistance next turn)
Gain 20 Stamina


Steal everything!
Btw, why reduce damage by a RANDOM amount? Is it just for realism's sake? Cuz that certainly makes the most sense. But gameplay-wise, I should probably avoid RNG as much as possible due to the genre of my project (tactical RPG).
Not COMPLETELY random in most cases, but within a given range. But yes, for some realism. Damage dealt has variance by default, why shouldn't the reduction amount as well? Granted for the player, they may not notice too much, BECAUSE of that variance.
If you are aiming for field-focus combat where positioning is important, [Guard] will naturally be useless.
Yea, that seems to be a problem due to having battles on a grid. So would it simply be better to just leave Guard as "halves incoming damage"? Cuz I just realized how much of a pain it would be to have to describe to the player what's going on... Like, it would be easier to say that Guards just halves damage. I don't wanna have to write any formulas in a tooltip if I can avoid it.

@Cythera I like the bit-sized-ness of those Guard effects!
Yea, that seems to be a problem due to having battles on a grid. So would it simply be better to just leave Guard as "halves incoming damage"? Cuz I just realized how much of a pain it would be to have to describe to the player what's going on... Like, it would be easier to say that Guards just halves damage. I don't wanna have to write any formulas in a tooltip if I can avoid it.
If you have a direction matters setup like a lot of tactical RPGs, guard would still be useful in the direction the unit is guarding towards. Gives both some nuance to the guard, in that a hit from the side or behind isn't guarded against, and some tactical considerations for not only where the unit will be positioned, but what direction it expects to be attacked from.

Could also have guard negate the possibility of a critical hit.
I didn't read all the replies, so maybe it already has been said or people had better ideas, but I personally don't really like the guard skill itself. So I gave the guard state "taunt". Now, in this state, all physical attack are drawn to this character.

You could do this by raising the target rate for this state, by a lot. (Like 1000%) This will make attack to be more likely to hit the guarding character, but not 100% certain. If you want to draw all attacks to this character, you might want a plugin for that. (Sorry if I missed it but can't find which engine you use) Yanfly has a nice taunt plugin for MV. I use that one on my guard skill/state.
Unlike some people, I don't have an issue with Guard as is. Sure, it costs a turn, but depending on the situation, not using it might just lead to a party member dropping dead. That would require you to revive the fallen friend, which sacrifices an attack plus whatever resource you used for the revival.

You can add extra effects to guarding if it fits your game, but the skill as is does exactly what it needs to do and that's perfectly fine. However, the very act of guarding is a protective action to help preserve life. That alone is enough of a bonus to render the action useful. Situational, but useful. That's all it needs to be, honestly.
I know its not a formula per se but just some concept ideas. If you are going for a tactical combat, and in it there is some degree of skills that push away/forward other characters, guard could give immunity to it. Also if you had 2+ units wearing shields next to each other using guard, they could get a "shield wall" buff, giving them defense against ranged attacks, or even making enemies unable to target behind the shield wall.

Also as said above "guard" usually means "prepare for the impact", but what if guard had different effects depending on the weapon. For example shields could do the above, light weapons like daggers, or rapiers (or if you are only wearing a one-handed weapon without a shield) it could have the chance of triggering a counterattack, returning x% of the incoming damage (maybe the counter chance of triggering could be triggered by some stat like speed), polearms could have a chance of pushing the enemy away if it's a melee attack, or stunning the enemy, and so on.

The thing with guard that I don't like in most game is that you give up your turn to guard, so its usually just not worth. You can do damage instead, or heal afterwards for more health than the damage I took, so the reward for guarding needs to be higher, or at least have a chance to be higher than what you could pull off on that turn.
Yea, that seems to be a problem due to having battles on a grid. So would it simply be better to just leave Guard as "halves incoming damage"? Cuz I just realized how much of a pain it would be to have to describe to the player what's going on... Like, it would be easier to say that Guards just halves damage. I don't wanna have to write any formulas in a tooltip if I can avoid it.
I've not reviewed Lecode's TBS, so I can't guarantee all of my feedback would be of use.

If character facing plays a role in formulas, you can make it so attacks from the direction a targeted battler is facing deal less damage when guarding, but more damage from other directions. If character facing affects accuracy and evasion, make guarding increase evasion or even set 1 formula for accuracy regardless of the direction of the attack source.

Regardless of what you may find or do, I agree with Hadria. Guarding has to net some benefit to the player, and games that do that gives buffs that players can use on the guarding battler's next turn. You can make shield wielders get a persisent DEF increase, giant weapon holders an ATK increase, light weapon wielders with EVA, etc.
So I gave the guard state "taunt".
If you are going for a tactical combat, and in it there is some degree of skills that push away/forward other characters, guard could give immunity to it.
If character facing plays a role in formulas, you can make it so attacks from the direction a targeted battler is facing deal less damage when guarding, but more damage from other directions.
Thanks, excellent ideas! Luckily, I already know how to implement these features. Although, I'm not sure yet what happens if more than 1 unit uses Taunt, lol. But I'll probably give a different Guard effect/skill for each weapon type, as suggested. Shields would have the effect most similar to default Guard, but others like a Staff would grant a Mana Shield, for example. For simplicity's sake, I'll probably just set the Guard formula to: damage ÷ 2.
Default guard - Remove weaknesses until end of turn. Skill is further modified by equipped defensive gear.

Shield - Block - % damage reduction, and debuff the attacker.

Orb - Barrier - Temporary hp, recharge MP on hit

Dagger - Parry - Buff self, counterattack
My guard does alot of things that has nothing to do with formulas as it does heavily limit what guarding is capable of.

- Basic 50% - 75% damage reduction.
- Blocks critical hits. (I'd add weaknesses too once I figure out how to do it)
- Increased debuff resistance.
- Immunity to certain instant death effects.
- Restoring "posture" and reduces "guard damage". (Used for a "Knockdown/Guard Break" mechanic)
Guard formulas? I dunno about that, but I have considered making equipment where if you guard with them on you can:
  • Block certain status effects completely for a turn
  • Reflect magic
  • Reflect physical attacks (you can't have reflect and power shield on at the same time, so having this on would remove reflect)
  • Ok this one requires a bit of context: let's say there's a move that does your entire HP count and would kill you in one hit. Some telegraphing involved. Guarding this attack would revise its damage formula to do zero instead.

I'm not quite sure how else to iterate on guarding as a game mechanic, since it's already a good method to wait out turns. Maybe something where if you guard you build up a resource to explode the enemies with, but not much other than that.
Guard formulas?
People seem to be confused as to what I mean by Guard formula, lol. I was simply referring to this in Yanfly's sparam plugin:
1645441339904.png

Basically, it just governs how the GRD sparam manipulates damage during a Guard. By revising Yanfly's default formula (as seen above) to something like damage / 2 or damage * 0.5 would make Guards always halve the incoming damage value. This would completely disregard the GRD sparam, which I was also pondering whether to use or not.

But I'm actually glad most of the responses were not formula related. The above posts have been very helpful, thank you.

Edit: So I have another question for you guys. Do any of you use the GRD sparam in any way?
For my own projects I kept the default 50% reduction, but added MP recovery to guard. I also have equipment that add additional effects to guard or change the way guard works. For example, a spiked shield could inflict damage to attackers while guarding, or a magic artifact could change guard to counter physical attacks at the cost of no longer reducing magical damage.

Personally, I think guarding should be simple and reliable. I shouldn't have to second guess if guard would be able to save my life.

If you're using defense in the guard formula, I think that might result in one of two extremes, either a character has low defense which makes guard not worth using, or a character has high defense which makes guard too overpowered.

Not COMPLETELY random in most cases, but within a given range. But yes, for some realism. Damage dealt has variance by default, why shouldn't the reduction amount as well? Granted for the player, they may not notice too much, BECAUSE of that variance.
Because then you'd have double the randomness and larger overall variance. There is a possibility of the attack being in the upper range while the guard is in the lower range, and vice versa.

Original thread: https://forums.rpgmakerweb.com/threads/alternative-guard-formulas.145098/