Original Source
- Original title: Damage Formula Question
- Original author: tjaether
- Original date: August 10, 2014
- Source thread: https://forums.rpgmakerweb.com/threads/damage-formula-question.30925/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
Hi there I'm going through the RPGMaker VX Ace Tutorial again, I'm glad it's finally been completed! I'm on the 3rd Tutorial on page 13 where it introduces Damage Formulas. It states for the example game they are using the default formulas, but it doesn't point to or indicate what the "default" formula is. I have some questions regarding this formula and such. For example, is the "Default" formula the default for ALL types of damage and healing? Like can you use the same formula for a Fire 3 spell...
Archived First Post
Also I don't understand the equation of the formula, mostly what it stands for and how it figures out dmg... Maybe I can get some clarification here?
I see this Quick Box Formula: x + y * (a.atk * 0.04 - b.def* 0.02) + z * (a.mat * 0.02) - b.mdf * 0.02)
I also see the Example Box for the HP Drain Spell using the Formula: [20 + a.mat * 2 - b.mdf * 2] (Where did they get "20" from?)
It says that the standard default attack is based on Physical 100, Base =0, Magical= 0. Is this because Physical relies of the STR/ATK rating of the character and the "Base" stat would represent a Weapon's ATK Power/Rating if they were using a normal attack with a sword or something? Then if it was a Magical Weapon would you add in the Magical Rating also? Maybe that's getting ahead of myself...
So I'm guessing after doing some searching through the forums that in (a.atk) the "a" represents the Character Using the Action and (b.def) the "b" stands for the Character/Enemy the Action is being used against/on. Am I correct with that so far? and (atk) is Physical Attack and (mat) is Magic Attack, etc? I hate to admit it but I'm one of those people that needs some things spelled out in black and white when getting clarification and learning new things.
That's the Quick Box formula above stated in the tutorial.
X = Base Value
Y = Physical Value
Z = Magical Value
What is "Base Value"? Is it the set DMG Parameter of a Weapon of Skill/Spell? (Like Dagger has 5 ATK rating, so does that mean it's base value is 5? and then "Y" would be the characters ATK rating?)
Do you use the entire Quick Box formula to figure a normal attack even though there is no Magical stat involved? Or do you only use the x + y * (a.atk * 0.04 - b.def* 0.02) section?
I hate to ask this if it's a lot but if someone was able to write up a simple normal attack and magic attack example using the Tutorial Formula so I can see how the stats fill in the blanks and calculate damage I would really appreciate it. I'm basically stuck until I get this figured out. I have to understand it to move forward in making the game so any help here is so unbelievably appreciated!
Thank you!
-TJ
Reference:
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...
