EarthBound Beginnings/Battle Engine: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create initial page)
 
m (Fix mult table format)
Line 14: Line 14:
|'''Odds'''||3.9%||7.8%||7.8%||7.8%||7.8%||7.0%||7.0%||6.3%||6.3%||5.5%||4.7%||4.7%||3.9%||3.1%||3.1%||2.3%||2.3%||1.6%||1.6%||1.6%||0.8%||0.8%||0.8%||0.8%
|'''Odds'''||3.9%||7.8%||7.8%||7.8%||7.8%||7.0%||7.0%||6.3%||6.3%||5.5%||4.7%||4.7%||3.9%||3.1%||3.1%||2.3%||2.3%||1.6%||1.6%||1.6%||0.8%||0.8%||0.8%||0.8%
|-
|-
|'''RandMult'''||0x00||0x01||0x02||0x03||0x04||0x05||0x06||0x07||0x08||0x09||0x0A||0x0B||0x0C|0x0D||0x0E||0x0F||0x10||0x11||0x12||0x13||0x14||0x15||0x16||0x17||0x18
|'''RandMult'''||0||1||2||3||4||5||6||7||8||9||10||11||12|13||14||15||16||17||18||19||20||21||22||23||24
|}
|}



Revision as of 19:59, 15 April 2025

Hit detection

(Currently unknown how a hit/miss is determined)

Damage Calculation

The following method is used to determine the damage of a normal attack:

1. Calculate base damage (round BaseDamage down):

BaseDamage = [(AttackerOffense * 3) - DefenderDefense] / 4

2. Get random multiplier from this table. There is a 50% chance of RandMult being negative.

Odds 3.9% 7.8% 7.8% 7.8% 7.8% 7.0% 7.0% 6.3% 6.3% 5.5% 4.7% 4.7% 3.9% 3.1% 3.1% 2.3% 2.3% 1.6% 1.6% 1.6% 0.8% 0.8% 0.8% 0.8%
RandMult 0 1 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 21 22 23 24

3. Calculate final damage (round FinalDamage down):

FinalDamage = BaseDamage * (1 ± 0.1 * RandMult)


This means that any normal attack can hit for 76% to 124% of its base damage.

Crit detection

(Currently unknown.)