05 Dmg (Weapon)

From Final Fantasy Hacktics Wiki
(Redirected from 00188c9c - 00188cf0)
Jump to navigation Jump to search
[05] yeah no this doesn't seem to be used; not even by charge. it's just Dmg_(weapon) but it doesn't have accept elements. - Talcall, for a third time

00188c9c: 27bdffe8 addiu r29,r29,-0x0018    |
00188ca0: afbf0010 sw r31,0x0010(r29)       |
00188ca4: 0c06215a jal 0x00188568           |-->Physical_Evade_Calculation(Charge) If Abillity is evadeable roll Ability Evade byte against Ability base Hit
00188ca8: 00000000 nop                      |
00188cac: 1440000d bne r2,r0,0x00188ce4     #If Attack Hits
00188cb0: 00000000 nop                          |
00188cb4: 0c0616a7 jal 0x00185a9c               |-->Base XA Calculation Set XA and YA (Based on Weapon Type)
00188cb8: 00000000 nop                          |
00188cbc: 0c0617e0 jal 0x00185f80               |-->Charge Calculation Add Power Charge to XA
00188cc0: 00000000 nop                          |
00188cc4: 0c0621a9 jal 0x001886a4               |-->Physical Damage Calculation Modify XA (Support-Statuses-Compat-Critical Hit), Might add Knockback, Set TCA HP damage
00188cc8: 00000000 nop                          |
00188ccc: 0c062130 jal 0x001884c0               |-->Conditional Status Proc Roll (19%) Returns r2 = 0x00 if Proc is triggered (and enables TCA special flag 2 0x02)
00188cd0: 00000000 nop                          |
00188cd4: 14400003 bne r2,r0,0x00188ce4         #If Proc is triggered
00188cd8: 00000000 nop                              |
00188cdc: 0c061fad jal 0x00187eb4                   |-->Apply status (to action) - (Preserve hit status, evade type, hit %) Update Target Current Action status infliction/Removal
00188ce0: 00000000 nop                              |
00188ce4: 8fbf0010 lw r31,0x0010(r29) 
00188ce8: 27bd0018 addiu r29,r29,0x0018
00188cec: 03e00008 jr r31  
00188cf0: 00000000 nop 

Notes

This routine jump to a dedicated Physical evasion routine without "the weather effects on bows part". Which seems to be dedicated too(only linked to this one).

Return Locations

8018b97c - Pre Formula Setup (link)