How is damage calculated?
From OHRRPGCE-Wiki
(Redirected from How are elemental strengths and weaknesses calculated?)
Short answer: It depends.
Long answer: It depends on the type of attack formula the attack is based on:
Note: the Attack and Defense stats can vary for each attack
Damage Types
- Normal damage is Attack - Defense * .5
- Blunt damage is Attack * .8 - Defense * .1
- Sharp damage is Attack * 1.3 - Defense
- Pure damage is simply Attack
- Specific damage is whatever it's set to
Strengths and Weaknesses
- Each elemental weakness multiplies the damage by 2
- Each elemental strength multiplies the damage by 0.12
- Each enemy-type weakness multiplies the damage by 1.8
The attack's Extra Damage is a percentage that is added to the calculated damage. Extra damage of 10 would result 110% damage. Extra damage of -10 would result in 90% damage.
Also, there is a random factor, that shuffles the actual damage dealt. The range is plus or minus 20% (so somewhere in the range of 80% to 120% of the calcuated damage)
Finally, the damage is set to 1 if it's less than 1, unless the "Damage can be Zero" bitset is on.
