Difference between revisions of "05 Dmg (Weapon)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
  [05] Redundant? - Appears to be formula 0x01 (dmg_(Weapon)) but without the elemental proc. isn't used, obviously, because any weapon can just not have an element and go through 0x01 just fine. - Talcall
+
  [05] Used by charge, very explicitly. - Talcall, on reconsideration
 
  00188c9c: 27bdffe8 addiu r29,r29,0xffe8
 
  00188c9c: 27bdffe8 addiu r29,r29,0xffe8
 
  00188ca0: afbf0010 sw r31,0x0010(r29)
 
  00188ca0: afbf0010 sw r31,0x0010(r29)

Revision as of 04:58, 21 April 2021

[05] Used by charge, very explicitly. - Talcall, on reconsideration
00188c9c: 27bdffe8 addiu r29,r29,0xffe8
00188ca0: afbf0010 sw r31,0x0010(r29)
00188ca4: 0c06215a jal 0x00188568           Physical Evade Calculation
00188ca8: 00000000 nop
00188cac: 1440000d bne r2,r0,0x00188ce4     Branch if attack was evaded
00188cb0: 00000000 nop
00188cb4: 0c0616a7 jal 0x00185a9c           Base XA Calculation
00188cb8: 00000000 nop
00188cbc: 0c0617e0 jal 0x00185f80           Charge Calculation
00188cc0: 00000000 nop
00188cc4: 0c0621a9 jal 0x001886a4           Physical Damage Calculation
00188cc8: 00000000 nop
00188ccc: 0c062130 jal 0x001884c0           Conditional Status Proc Roll (19%)
00188cd0: 00000000 nop
00188cd4: 14400003 bne r2,r0,0x00188ce4     If proc roll:
00188cd8: 00000000 nop
00188cdc: 0c061fad jal 0x00187eb4           Apply status (to action) - (Preserve hit status, evade type, hit %)
00188ce0: 00000000 nop
00188ce4: 8fbf0010 lw r31,0x0010(r29)
00188ce8: 27bd 0018 addiu r29,r29,0x0018
00188cec: 03e00008 jr r31
00188cf0: 00000000 nop