Damage Calculation

From Final Fantasy Hacktics Wiki
Jump to: navigation, search
001886a4: 27bdffe8 addiu r29,r29,0xffe8
001886a8: afbf0010 sw r31,0x0010(r29)
001886ac: 0c06217e jal 0x001885f8		Physical XA Modifying Statuses/Support (Plus Compat)
001886b0: 00000000 nop
001886b4: 0c06193e jal 0x001864f8		Critical Hit Calculation (Includes Knockback)
001886b8: 00000000 nop
001886bc: 0c06195a jal 0x00186568		XA * YA Calculation
001886c0: 00000000 nop
001886c4: 8fbf0010 lw r31,0x0010(r29)
001886c8: 27bd0018 addiu r29,r29,0x0018
001886cc: 03e00008 jr r31
001886d0: 00000000 nop

Return Locations

00188638 - Weapon Damage Calculation
00188be4 - Formula 03 Dmg (WP^2)
00188c9c - Formula 05 Dmg_(Weapon)
00188cf4 - Formula 06 AbsHP_(Weapon)
00189b20 - Formula 2D Dmg_(PA*(WP+Y)) 100% Status
00189b94 - Formula 2E Equipped:Break Dmg_(PA*WP)
00189c50 - Formula 2F AbsMP_(PA*WP)
00189c90 - Formula 30 AbsHP_(PA*WP)