Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Damage Calculation Help

This is from RMXP's help contents under the battle formula section:

Normal attacks:
Power = A's attack power - (B's physical defense ÷ 2)
Rate = 20 + A's strength
Variance = 15
Minimum force: 0

Can anyone explain it to me a little clearer? I've tried plugging in numbers but I'm not sure I understand what the Rate means. Is it added to the power or used as a percentage? Thanks in advance.
 
For anyone else that reads this, in the docs under Battle Formulas -> Calculating Damage

Force = Power

Rate = Multiplier

When they translated the doc from Japanese to English, they weren't exceptionally consistent.
 
Brewmeister":poptyr9j said:
When they translated the doc from Japanese to English, they weren't exceptionally consistent.

Yeah, that explains a lot.

kirbwarrior":poptyr9j said:
Yeah, it confused me at first too. If you want to change it, its near the top of Game_Battler 3, although I don't know how much of a scripter you are.

I'm not much of a scripter, though I don't think I'll need to change it if I know how to calculate the damage myself.

Thanks both of you for the help.
 
DEX, AGI & INT CAN be used as modifiers for SKILL attacks.
If you look at the 'out of the box' skills, none of them use DEX-F or AGI-F (Only INT-F or STR-F).
The skills that use INT are 'magic' type skills, and the skills that use STR are 'weapon' skills.

You can add additional complexity to the battle system by applying a DEX-F (Dexterity Factor), or AGI-F (Agility Factor) to specific skills that depend on those characteristics.

If you look at the "Battle Formula" section of the Help, the multiplier (Rate) = 20
+ (A's strength × skill's strength F ÷ 100)
+ (A's dexterity × skill's dexterity F ÷ 100)
+ (A's agility × skill's agility F ÷ 100)
+ (A's intelligence × skill's intelligence F ÷ 100)


DEX & AGI are also used in the calculations for Critical Hits & Evasion

A higher DEX will allow you to 'Critical Hit' more often, and reduce your targets chance of evading your attack.

A higher AGI will allow you to 'Evade' more often, and reduce your attacker's chance of scoring a Critical Hit.


AGI is also used as a comparison to your enemies to determine if you can "Escape" a battle, if Escaping is enabled.


That help?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top