A Different Approach to Damage Formulas...

why not just use the stats as designed? you seem to be arriving to a very similar place but it will be more work to track how strong things are.

getting access to higher multipliers (b.hp * 0.5) would be the same as getting higher attack stats but you'd have to write out each attack instead of just incrementing it.

Its not that it isnt doable its more of why would you spend your time doing it?
I don't really see the point in using mHP as part of a damage formula unless you're using a percentage of it to put a ceiling on how much damage can be done. And even, then I wouldn't advertise the skill within the game as using mHP in that way. But then again, I prefer simplicity.
The whole purpose of this post was to determine any viability in using your enemies HP outside of the niche style mechanics (such as FF Demi spell). From what we have seen from everyone's posts, there doesn't seem to be such a thing or if there is it would be to overly complicated to even include.
Here's something that could make a interesting twist in this hp based formula:

b.maxhp * (0.1*(a.mat/b.mdf))

In this case, the Attacker's magic attack "collides" with the Target's magic defense in a multiplicative way, making the damage value as strong (or as weak) as it's caster while still giving the target ways of survivability.
I have 2 skills that utilize HP: (they are rather unimaginative though)

Execute deals more damage the lower the target's HP is...
(a.atk * 3) * (1 - b.hp / b.mhp)

Revenge deals more damage the lower the user's HP is...
(a.atk * 3) * (1 - a.hp / a.mhp)

Note: I also utilize armor scaling for damage mitigation instead of a linear armor system. This introduces diminishing returns for armor.

All in all, I believe there is room to incorporate HP into a damage formula, but probably not as a basis for the majority of the game's attacks. I prefer to reserve them for niche applications.
I'm not a huge fan of percent-of-hp stuff, so I approach it pretty cautiously. That said, I do have a few skills that utilize the caster and/or target's hp:
  • Gravity: Good old FF-inspired Gravity saps 50% of the target's current HP away with no stats to resist it. I can, however, add an <Immune to Gravity> tag on any strong monster/boss I want to not be affected by it. To avoid turning it into a Useless Useful Spell, there's a fallback: Any foe tagged immune to it can suffer normal formula-based non-elemental damage (caster's mat vs target's mdf)
  • Level 3 Enfeeble: Similar to Gravity, but it hits everyone (ally and enemy alike) with a level multiple of 3 for 95% of their current HP while also silencing and crippling (skill silence) them. Like above, there's a formula-based fallback for gravity-immune targets, but it's still a super nasty spell. I might swap its level-selection with Level 4 Flare to reduce the number of possible levels it can hit.
  • Whitewind Slash: Another FF-inspired ability, this skill deals wind hybrid damage to all enemies and heals the party for a portion of the user's current hp. Note: hybrid damage in my game is the average of atk + mat vs the enemy's average def + mdf, but in this case, it scales with hp rather than atk + mat. The modifier for this skill is pretty small and is intended for the player to stack HP accessories in order to make full use of.

Original thread: https://forums.rpgmakerweb.com/threads/a-different-approach-to-damage-formulas.118401/