Difference between revisions of "2Truth/Formula 5E-5F Calculate damage"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (return link)
m (return link)
Line 13: Line 13:
 
==Return Location==
 
==Return Location==
 
  00189454: [[1E_Dmg_((MA%2BY)*MA/2)#Hit.28Rdm.281.2CX.29.29|Formula 1E - Dmg ((MA+Y)*MA/2)]]
 
  00189454: [[1E_Dmg_((MA%2BY)*MA/2)#Hit.28Rdm.281.2CX.29.29|Formula 1E - Dmg ((MA+Y)*MA/2)]]
 +
0018aab8: [[5E_Dmg_((MA%2BY)/2*MA)|Formula 5E - Dmg ((MA+Y)/2*MA)]]
 +
0018aae8: [[5F_Dmg_((MA%2BY)/2*MA)|Formula 5F - Dmg ((MA+Y)/2*MA)]]
 +
0018ab08: [[60_Dmg_((MA%2BY)/2*MA)_Status|Formula 60 - Dmg ((MA+Y)/2*MA) Status]]

Revision as of 20:01, 26 August 2021

Truth/Formula 5E-5F Calculate damage:
001889a4: 27bdffe8 addiu r29,r29,0xffe8		
001889a8: afbf0010 sw r31,0x0010(r29)		
001889ac: 0c061730 jal 0x00185cc0		Base XA and YA for MA + Y / 2
001889b0: 00000000 nop				
001889b4: 0c062259 jal 0x00188964		Truth/Formula 5E-5F Magical damage
001889b8: 00000000 nop
001889bc: 8fbf0010 lw r31,0x0010(r29)
001889c0: 27bd0018 addiu r29,r29,0x0018
001889c4: 03e00008 jr r31
001889c8: 00000000 nop

Return Location

00189454: Formula 1E - Dmg ((MA+Y)*MA/2)
0018aab8: Formula 5E - Dmg ((MA+Y)/2*MA)
0018aae8: Formula 5F - Dmg ((MA+Y)/2*MA)
0018ab08: Formula 60 - Dmg ((MA+Y)/2*MA) Status