Difference between revisions of "07 Heal (Weapon)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
+
No Elemental mechanics
  [07] Weapon (Heal)
+
No Proc
  00188d3c: 27bdffe8 addiu r29,r29,0xffe8
+
Undead Reversal
  00188d40: afbf0010 sw r31,0x0010(r29)
+
  Hardcoded reaction mechanics see [[#Hard coded mechanics|Notes]]
  00188d44: 0c0616a7 jal 0x 00185a9c      [[Base XA Calculation]]
+
--------------------------------------------------------------------------------------------------
  00188d48: 00000000 nop
+
  00188d3c: 27bdffe8 addiu r29,r29,-0x0018
  00188d4c: 0c061259 jal 0x 00184964      [[Compatibility]]
+
  00188d40: afbf0010 sw r31,0x0010(r29)
  00188d50: 00000000 nop
+
  00188d44: 0c0616a7 jal 0x00185a9c          |{{f/jal|Base XA Calculation|Base XA Calculation}} Set XA and YA (Based on Weapon Type)
  00188d54: 0c0617e0 jal 0x 00185f80      [[Charge Calculation]]
+
  00188d48: 00000000 nop                     |
  00188d58: 00000000 nop
+
  00188d4c: 0c061259 jal 0x00184964          |{{f/jal|Compatibility|Compatibility}} Modify Ability XA : from -50% to + 50%
  00188d5c: 0c06217e jal 0x 001885f8      [[Physical XA Modifying Statuses/Support ]]
+
  00188d50: 00000000 nop                     |
  00188d60: 00000000 nop
+
  00188d54: 0c0617e0 jal 0x00185f80          |{{f/jal|Charge Calculation|Charge Calculation}} Add Power Charge to XA
  00188d64: 0c06195a jal 0x 00186568      [[XA * YA Calculation]]
+
  00188d58: 00000000 nop                     |
  00188d68: 00000000 nop
+
  00188d5c: 0c06217e jal 0x001885f8          |{{f/jal|Physical XA Modifying Statuses/Support |Physical XA Modifying Statuses/Support }} Modify Ability XA (Support Abilities, Status, Compatibility)
  00188d6c: 0c061cd4 jal 0x 00187350      [[Undead Reversal]]
+
  00188d60: 00000000 nop                     |
  00188d70: 00000000 nop
+
  00188d64: 0c06195a jal 0x00186568          |{{f/jal|XA * YA Calculation|XA * YA Calculation}} Store XA*YA as Target Current Action HP damage (TCA 0x04) and Set TCA Attack type to 0x80 (HP damage)
  00188d74: 8fbf0010 lw r31,0x0010(r29)
+
  00188d68: 00000000 nop                     |
  00188d78: 27bd 0018 addiu r29,r29,0x 0018
+
  00188d6c: 0c061cd4 jal 0x187350            |{{f/jal|Undead Reversal|Undead Reversal}} Swith HP damage to HP recovery if Target isn't undead / Nullify 0x80193860
  00188d7c: 03e00008 jr r31
+
  00188d70: 00000000 nop                     |
 +
  00188d74: 8fbf0010 lw r31,0x0010(r29)
 +
  00188d78: 27bd0018 addiu r29,r29,0x0018
 +
  00188d7c: 03e00008 jr r31  
 
  00188d80: 00000000 nop
 
  00188d80: 00000000 nop
 +
=== Hard coded mechanics ===
 +
Formula 0x07 is checked in at least two reactions routines and skip the reaction process (no reaction occurs)
 +
  - [[Sunken_State,_Caution,_Dragon_Spirit,_counters,_absorbs_usability]]
 +
  - [[MP_Switch,_Distribute,_and_Damage_Split_usability]]
 +
=== Return location ===
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Revision as of 19:40, 12 April 2022

No Elemental mechanics
No Proc
Undead Reversal
Hardcoded reaction mechanics see Notes
--------------------------------------------------------------------------------------------------
00188d3c: 27bdffe8 addiu r29,r29,-0x0018
00188d40: afbf0010 sw r31,0x0010(r29)
00188d44: 0c0616a7 jal 0x00185a9c           |-->Base XA Calculation Set XA and YA (Based on Weapon Type)
00188d48: 00000000 nop                      |
00188d4c: 0c061259 jal 0x00184964           |-->Compatibility Modify Ability XA : from -50% to + 50%
00188d50: 00000000 nop                      |
00188d54: 0c0617e0 jal 0x00185f80           |-->Charge Calculation Add Power Charge to XA
00188d58: 00000000 nop                      |
00188d5c: 0c06217e jal 0x001885f8           |-->Physical XA Modifying Statuses/Support  Modify Ability XA (Support Abilities, Status, Compatibility)
00188d60: 00000000 nop                      |
00188d64: 0c06195a jal 0x00186568           |-->XA * YA Calculation Store XA*YA as Target Current Action HP damage (TCA 0x04) and Set TCA Attack type to 0x80 (HP damage)
00188d68: 00000000 nop                      |
00188d6c: 0c061cd4 jal 0x187350             |-->Undead Reversal Swith HP damage to HP recovery if Target isn't undead / Nullify 0x80193860
00188d70: 00000000 nop                      |
00188d74: 8fbf0010 lw r31,0x0010(r29)
00188d78: 27bd0018 addiu r29,r29,0x0018
00188d7c: 03e00008 jr r31 
00188d80: 00000000 nop

Hard coded mechanics

Formula 0x07 is checked in at least two reactions routines and skip the reaction process (no reaction occurs)
 - Sunken_State,_Caution,_Dragon_Spirit,_counters,_absorbs_usability
 - MP_Switch,_Distribute,_and_Damage_Split_usability

Return location

0018b97c - Pre Formula Setup