Value:Damage Formula

From FF5 Hacking Wiki
Jump to navigation Jump to search

Currently this document is a Work-In-Progress, but in the future it will try to explain each formula one by one.

Every Attack Formula uses 3 bytes, but in different ways [WIP].

Contents

$00 - ["Nothing"]

Text goes here

$01 - [Monster Fight]

Text goes here

$02 - [Monster Specialty]

Text goes here

$03 - [Magic Sword - Type 1]

Text goes here

$04 - [Magic Sword - Type 2]

Text goes here

$05 - [Magic Sword - Type 3]

Text goes here

$06 - [Magic Attacks]

Text goes here

$07 - [HP based (Gravity) Attacks]

Text goes here

$08 - [Pierce Magic Defense]

Text goes here

$09 - [Random Damage]

Text goes here

$0A - [Physical Magic]

Text goes here

$0B - [Level Based Damage + Curable Status]

Text goes here

$0C - [HP Leak]

Text goes here

$0D - [Drain Hp]

Text goes here

$0E - [Drain Mp]

Text goes here

$0F - [Reduce HP to Critical]

Text goes here

$10 - [Restore HP]

Text goes here

$11 - [Full Restore HP]

Text goes here

$12 - [Status Effect Curable]

Text goes here

$13 - [Status Effect Temporary]

Text goes here

$14 - [Status Effect Dispellable]

Text goes here

$15 - [Toggle Status Curable]

Text goes here

$16 - [Speed Status(Exclusive)]

Text goes here

$17 - [Status Effect Curable, Instant Death only?]

Text goes here

$18 - [Destroy (miss vs. Heavy)]

Text goes here

$19 - [Remove Status 1,2,3]

Text goes here

$1A - [Resurrection]

Text goes here

$1B - [Drain to All - Whispering Wind]

Text goes here

$1C - [Element attribute change]

Text goes here

$1D - [Scan Monster]

Text goes here

$1E - [Speed up Caster - Drag]

Text goes here

$1F - [No Magic - Void]

Text goes here

$20 - [Exit Battle]

Text goes here

$21 - [Reset Battle]

Text goes here

$22 - [Double Commands - Quick]

Text goes here

$23 - [Golem Wall]

Text goes here

$24 - [Constant HP restore]

Text goes here

$25 - [Constant MP restore]

Text goes here

$26 - [Heals Full HP and/or MP]

Text goes here

$27 - [Inflict Status 1,2,3; ignore Immunity]

Text goes here

$28 - [Ignore Defense, Fixed Damage]

Text goes here

$29 - [Countdown/Erase, Apply unless Heavy]

Text goes here

$2A - [Damage Based on Max HP + Hp Leak]

Text goes here

$2B - [Damage Based on Caster's Current HP]

Text goes here

$2C - [50/50 chance of Status 1 or Status 2]

Text goes here

$2D - [Ground Attack]

Text goes here

$2E - [Physical magic + Status 1]

Text goes here

$2F - ?

Text goes here

$30 - [Barehand]

Parameter 1: % Critical
Parameter 2: <none>
Parameter 3: <none>
Hit% = 100
Evade% = Target
Atk = 3 + (0..(Level/4))
Def = Target
M = 2
If the Attacker has Brawl:
Atk = 3 + Level*2 + (0..(Level*2/8))
Mod = (Level*Strength)/256 + 2
If the Attacker Kaiser Knuckles (and Brawl):
Atk = Atk + 50

$31 - [Swords]

Parameter 1: Element
Parameter 2: % chance for FX
Parameter 3: FX
Hit% = 100
Evade% = Target
Atk = Weapon Attack + (0..(Weapon Attack)/8))
Def = Target
M = (Level*Strength)/128 + 2

$32 - [Knives]

Text goes here

$33 - [Spears]

Text goes here

$34 - [Axes] + [Staffs]

Text goes here

$35 - [Bows w/ status effects]

Text goes here

$36 - [Bows w/ elemental]

Text goes here

$37 - [Katanas]

Text goes here

$38 - [Whips]

Text goes here

$39 - [Bells]

Text goes here

$3A - [Long Reach Axes]

Text goes here

$3B - [Rods]

Text goes here

$3C - [Rune Weapons]

Text goes here

$3D - [Reduce HP to critical + Status]

Text goes here

$3E - [Reduce HP to critical or HP Leak]

Text goes here

$3F - Zombie Breath (Enemy Magic)

Text goes here

$40 - [Change Row]

Text goes here

$41 - ?

Text goes here

$42 - [Heal HP and Status]

Text goes here

$43 - Steal (Command)

Text goes here

$44 - Escape (Enemy magic)

Text goes here

$45 - Throw (Command)

Text goes here

$46 - GP Toss (Command)

Text goes here

$47 - Tame (Command)

Text goes here

$48 - Catch (Command)

Text goes here

$49 - Flirt (Command)

Text goes here

$4A - Dance (Command)

Text goes here

$4B - Lv5 Doom (Blue Magic)

Text goes here

$4C - Lv2 Old (Blue Magic)

Text goes here

$4D - Lv4 Quarter (Blue Magic)

Text goes here

$4E - Lv3 Flare (Blue Magic)

Text goes here

$4F - [Revive + Status]

Text goes here

$50 - Goblin Punch (Blue Magic)

Text goes here

$51 - [Modify Level or Defense]

Text goes here

$52 - [HP Leak + Status]

Text goes here

$53 - [Damage based on current MP]

Text goes here

$54 - [Damage = MAX HP - Current HP]

Text goes here

$55 - [Kill Caster, Heal Target]

Text goes here

$56 - ?

Text goes here

$57 - [HP Leak + Status]

Text goes here

$58 - [Flare Damage + HP Leak + Status]

Text goes here

$59 - Giant Drink (Item/Mix: Elixir + Dragon Fang)

Text goes here

$5A - [Heal w/ Current HP]

Text goes here

$5B - ?

Text goes here

$5C - [Full Heal + Status]

Text goes here

$5D - [Zombie]

Text goes here

$5E - [Increase stat while Singing]

Text goes here

$5F - [Damage creature type only]

Text goes here

$60 - Unhide Monster (Enemy Magic?)

Text goes here

$61 - Stalker Attack (Enemy Magic)

Text goes here

$62 - Unhide Next Page (Enemy Magic)

Text goes here

$63 - Grand Cross (Enemy Magic)

Text goes here

$64 - Chicken Knife (Weapon)

Text goes here

$65 - Interceptor Rocket (Enemy Magic)

Text goes here

$66 - Targeting (Enemy Magic)

Text goes here

$67 - Pull (Enemy Magic)

Text goes here

$68 - Terminate (Enemy Magic)

Text goes here

$69 - Control (Command)

Text goes here

$6A - ? (Sandworm's Death?!)

Text goes here

$6B - [Status Immunity, Magic Element UP, Creature Type]

Text goes here

$6C - [Strong vs. Creature Type]

Text goes here

$6D - [Drain base on Current HP]

Text goes here

$6E - Brave Blade (Weapon)

Text goes here

$6F - Strong Fight (Enemy Attack)

Text goes here

$70 - Wormhole (Enemy Magic)

Text goes here

$71 - Level Down (Enemy Magic)

Text goes here

$72 - [Bows Strong vs. Creature]

Text goes here

$73 - [Spears Strong vs. Creature]

Text goes here

$74 - ?

Text goes here

$75 - ?

Text goes here

$76 - ?

Text goes here

$77 - ?

Text goes here

$78 - ?

Text goes here

$79 - ?

Text goes here

$7A - ?

Text goes here

$7B - ?

Text goes here

$7C - ?

Text goes here

$7D - ?

Text goes here

$7E - [Ineffective]

Text goes here

$7F - [No Action] + Harps

Text goes here