Triangle Strategy's Formula...Coincidence?

So I noticed that Triangle Strategy's damage formula is pretty much identical to RM's default formula. Check it out, I found it on Reddit:

((4 * Strength * PersonalMultiplier + WeaponDamage) * SkillMultiplier - 2 * Defence * PersonalMultiplier * SkillMultiplier) * Difficulty

Notice anything familiar? 😉

I was certainly surprised to learn they used RM's (a.atk * 4 - b.def * 2) formula as a base. The only difference is the addition of WeaponDamage as well as 2 multipliers, well 3 actually if we count the Difficulty modifier. Anyway, I've noticed a few quirks due to the use of this formula.
  • If Defense is high enough, attacks only hit for 1 damage. I'm guessing it would be 0 if not for the minimum being 1.
  • Strength & Defense is not equally valuable. This can be seen in-game in the accessories found in the Shop. For example, a Strength Ring grants +1 Strength, but a Defense Ring grants +2 Defense.
  • WeaponDamage is more valuable to certain characters than others due to the PersonalMultiplier. Roland, for example, has a PersonalMultiplier of 0.7 while most other characters use 1.0 instead.
  • I find myself using skills that increase DEF/MDF more than skills that increase STR/MAG despite the formula suggesting the reverse.
Yet despite this, combat still feels quite balanced overall. Thoughts?
Thoughts?
This might be getting into personal opinion, but I don't know that the presence of a 4 and a 2 would justify me calling this "pretty much identical."

As soon as you have any other multipliers, you will get significantly different results.
The only difference is the addition of WeaponDamage as well as 2 multipliers, well 3 actually if we count the Difficulty modifier.
I see 5 - 2 PersonalMultipliers and 2 SkillMultipliers (despite the person who wrote this using the same words, these are clearly referring to values on the attacker and defender, not the same number in both places) and the Difficulty.
  • If Defense is high enough, attacks only hit for 1 damage. I'm guessing it would be 0 if not for the minimum being 1.
  • Strength & Defense is not equally valuable.
This is all mathematically true.
  • WeaponDamage is more valuable to certain characters than others due to the PersonalMultiplier. Roland, for example, has a PersonalMultiplier of 0.7 while most other characters use 1.0 instead.
That is not true unless the equation you posted is typed incorrectly. As you presented it, Strength and PersonalModifier and the value 4 are all multiplied together, then the WeaponDamage is added after. That WeaponDamage number is the same value regardless of who uses it.

What you're saying would only be true if the attacker portion of the formula were actually:
Code:
4 * Strength + (PersonalMultiplier * WeaponDamage)
or something like that.
  • I find myself using skills that increase DEF/MDF more than skills that increase STR/MAG despite the formula suggesting the reverse.
Okay? Unless the increase is double or more than what the offensive buffs give, that seems like poor strategy 😛
As soon as you have any other multipliers, you will get significantly different results.
But it doesn't change the basic behavior of the formula.

This might be getting into personal opinion, but I don't know that the presence of a 4 and a 2 would justify me calling this "pretty much identical."

As soon as you have any other multipliers, you will get significantly different results.
It is still vastly similar to the RM formula to many other formulas. Formulas that take a division approach or the formula I use involving exponents.

That is not true unless the equation you posted is typed incorrectly. As you presented it, Strength and PersonalModifier and the value 4 are all multiplied together, then the WeaponDamage is added after. That WeaponDamage number is the same value regardless of who uses it.
Edit: The PersonalModifier makes it so Strength is less valuable to Roland (and Anna) due to a PersonalModifier of <1. Thus, in comparison, WeaponDamage is more valuable to them than most.

Okay? Unless the increase is double or more than what the offensive buffs give, that seems like poor strategy 😛
Hmm, I just realized... Benedict's skills that increase STR/MAG & DEF/MDF (Raging Beast & Bulwark respectively) may not be granting equal amounts. Perhaps the DEF/MDF buff grants more? Idk, it just feels like I have more success using Bulwark over Raging Beast.

My point, is basically that for all the criticisms of the RM formula, Triangle Strategy made it work really well despite the pitfalls inherent to an addition/subtraction formula, as opposed to say, a divisionary (is this a word?), quadratic, or exponential formula.
I'm sorry, I meant SkillModifier, not PersonalModifier. WeaponDamage is in a parenthesis group (albeit still added after the multiplication stuff as you correctly mentioned) that is then multiplied by the SkillModifier. Thus Roland feels underpowered as a result.
That still doesn't track well - unless the WeaponDamage is a very large number (like, several times more than your Strength), its presence in that grouping when multiplied by the SkillModifier is going to have a small difference.
I guess that was my only point...that I really don't like Roland as a unit, lol.
Okay.
My basic point, is basically that for all the criticisms of the RM formula, Triangle Strategy made it work really well despite the pitfalls inherent to an addition/subtraction formula, as opposed to say, a divisionary (is this a word?) formula.
I'm not sure what all the criticisms of RPG Maker's default formula are, but it's a very basic way to achieve a couple of basic goals.

1 - We want stats to be similar values, aesthetically. As a player, I would feel weird if I were told that this character has good defense, and their stats are 30 ATK, 15 DEF.

2 - We don't want the stats to weigh the same. Otherwise, increasing HP would be a bad thing, as it would make battles take longer to finish as your damage being dealt doesn't change.

3 - Thus, we weight them differently: 2 * ATK - DEF.

4 - Designers tend to want higher numbers than that. With that formula, you'd have an ATK of 99 and still be only doing that much damage against an opponent with equal defense. So to get numbers into the hundreds or more, we multiply the values by more: 4 * ATK - 2 * DEF.

Voila. Stats of visually equal values to tell you what's good for your level, but increasing attack to compensate for increasing HP.

Anything beyond that is getting into the territory of "How does this work between teams of unequal level," or wanting low/high defense to have less of a difference. And thus we have the other additions you see here.
That still doesn't track well - unless the WeaponDamage is a very large number (like, several times more than your Strength), its presence in that grouping when multiplied by the SkillModifier is going to have a small difference.
I reread my statement and your right. It seems I made an edit right around when you replied so apologies for the confusion. (I still don't like Roland tho!)

I'm not sure what all the criticisms of RPG Maker's default formula are, but it's a very basic way to achieve a couple of basic goals.
Well, one of the criticisms (that Triangle Strategy doesn't solve) is how attacks can do next to no damage (literally "1" damage) if DEF is high enough. This is simply a drawback of using an addition/subtraction formula.

3 - Thus, we weight them differently: 2 * ATK - DEF.
An unfortunate necessity with such a formula. Doing so results in equipment of equal "item level" conferring different amounts. E.g. the Strength and Defense Rings example I mentioned earlier.
Well, one of the criticisms (that Triangle Strategy doesn't solve) is how attacks can do next to no damage (literally "1" damage) if DEF is high enough.
I would say it's clearly intended behavior. As we saw, this is not high end math we're dealing with here, so that has to be desired by the designers - they want to say "Characters with X amount of disparity in their stats are ineffectual."

One could dislike that choice for whatever reasons, but it seems odd to me to say it's a criticism of the formula when it's what the designers want to happen. I suppose it's saying the same thing, but one way implies it's some kind of inherent flaw in the math where the other way is saying they disagree with the person's decision.

And this is a thing in a ton of games - aside from the number of video games I've played where trying to fight a higher level opponent means I can't hit or can't do significant damage, it's true in many tabletop RPG systems as well. In D&D, for example, a low level character simply can't hit a high level character (except for the 5% chance of a critical hit).
One could dislike that choice for whatever reasons, but it seems odd to me to say it's a criticism of the formula when it's what the designers want to happen. I suppose it's saying the same thing, but one way implies it's some kind of inherent flaw in the math where the other way is saying they disagree with the person's decision.
Yes, the criticism is indeed in the choosing of the formula, not the formula itself. It would be strange if someone were trying to argue that the math is supposed to behave differently than it does.

In regards to the analogy of hitting a higher-level unit, it just feels like a "double-whammy" to me. You already have a penalty to Hit% when targeting a higher-level unit, whose stats are more than likely higher than yours. So, you already have a low chance to hit the target, but in the event you do...you only deal 1 damage? I'm just like...what's the point of making me miss if I'm only going to deal 1 damage in the unlikely event the attack connects? That's my main frustration anyway.
In regards to the analogy of hitting a higher-level unit, it just feels like a "double-whammy" to me. You already have a penalty to Hit% when targeting a higher-level unit, whose stats are more than likely higher than yours. So, you already have a low chance to hit the target, but in the event you do...you only deal 1 damage? I'm just like...what's the point of making me miss if I'm only going to deal 1 damage in the unlikely event the attack connects? That's my main frustration anyway.
Well, I don't know what the hit formula is like in Triangle Strategy, because your post doesn't address it.

But that reasoning couldn't apply to anyone criticizing RPG Maker's default formula, as enemies don't have levels and your hit/evade rates aren't affected by parameters or the damage formula.
Default RM may not have enemy levels, but it does have HIT and EVA. And while Triangle Strategy does feature enemy levels, the only thing that really matters in terms of an attack connecting is their ACC and EVA stat, not unlike RM. But at the end of the day, the only thing that matters is the player's experience. My "frustrations" are the result of the cumulation of design choices made by the Square Enix team. But overall, Triangle Strategy is a great example of an RM-like formula being used in a high-budget commercial RPG. I think there are do's and don'ts we can learn from it.
Interesting find. To me it sounds like the enemy design of Triangle Strategy is not be utilizing the formula as well as you'd hope.

As a point of comparison, Fire Emblem uses strength + weapon attack - defense, which can lead to zero damage in many cases. They compensate it with enemy design - many enemies until lategame are bandits or warriors with no consideration for defense. This allows the player to minmax defense or attack as they please while still dealing good amounts of damage.

It feels great when your units become impervious after careful growing. Then the game throws mages at the player and they have a new challenge to overcome.
Default RM may not have enemy levels, but it does have HIT and EVA.
Yes, and I mentioned those - I just don't see what they have to do with your topic of the damage formula.
Triangle Strategy is a great example of an RM-like formula being used in a high-budget commercial RPG.
Sure. Disgaea uses the same basic formula. The Suikoden series also has the same idea - the difference is they don't have the 4* and 2*, they simply make attack stats be higher than defense to begin with. Same with Shining Force, Fire Emblem, and X-Com, off the top of my head.

All of those series, as far as I know, do not have any kind of logarithmic or exponential calculations thrown in to vary the damage curve.
I'm pretty sure that formula goes back to Dragon Quest 1 on the NES, which makes sense as RPG Maker is designed to make games like Dragon Quest. I think the only difference is that DQ divides instead of multiplies since it's a low numbers game, so something like (Attack - (Defense/2))/2. Either way, Attack is twice as effective as Defense per point.

I wouldn't be surprised that other JRPGs use a pretty similar formula given Dragon Quest's popularity. It's also pretty handy math since making Attack outscale Defense ensures that battles actually end and that weaker actors can still deal some damage to high defense targets.
I'm pretty sure that formula goes back to Dragon Quest 1 on the NES, which makes sense as RPG Maker is designed to make games like Dragon Quest. I think the only difference is that DQ divides instead of multiplies since it's a low numbers game, so something like (Attack - (Defense/2))/2.
You are really close. The original Dragon Quest formula for attacks is (Attack - (Defense/2))/(2...4)

Basically the divisor could be anywhere between 2 and 4 and that was where you got the variance from the attack.

In general though, (Attack/2) - (Defense/4) has been the core of the DQ attack formula through every iteration. Which is obviously what the RM formula is based on, it's just *8 to both Attack and Defense/2 to get Attack*4 - Defense*2.

Original thread: https://forums.rpgmakerweb.com/threads/triangle-strategys-formula-coincidence.148367/