Difference between revisions of "Truth/Formula 5E-5F Magical damage"
Jump to navigation
Jump to search
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Truth/Formula 5E-5F Magical damage: | Truth/Formula 5E-5F Magical damage: | ||
− | 00188964: 27bdffe8 addiu r29,r29, | + | |
− | 00188968: afbf0010 sw r31,0x0010(r29) | + | No Parameters |
− | 0018896c: 0c0617ff jal 0x00185ffc | + | |
− | 00188970: 00000000 nop | + | Returns r2 = 0x00 if Proc is triggered (not used) |
− | 00188974: 0c0621d1 jal 0x00188744 | + | |
− | 00188978: 00000000 nop | + | Modify XA (Element/Support/Status/Compatibility) |
− | 0018897c: 0c0621df jal 0x0018877c | + | Set HP damage = XA*YA and process it through elemental resistances |
− | 00188980: 00000000 nop | + | Roll Status Proc (19% chances) and Add status is successful |
− | 00188984: 14400003 bne r2,r0,0x00188994 | + | -------------------------------------------------------------------------------------------- |
− | 00188988: 00000000 nop | + | 00188964: 27bdffe8 addiu r29,r29,-0x0018 | |
− | 0018898c: 0c0621f1 jal 0x001887c4 | + | 00188968: afbf0010 sw r31,0x0010(r29) | |
− | 00188990: 00000000 nop | + | 0018896c: 0c0617ff jal 0x00185ffc |{{f/jal|Elemental Strengthen |Elemental Strengthen }} XA + 25% if used Ability Element is strengthened |
− | 00188994: 8fbf0010 lw r31,0x0010(r29) | + | 00188970: 00000000 nop | |
− | 00188998: 27bd0018 addiu r29,r29,0x0018 | + | 00188974: 0c0621d1 jal 0x00188744 |{{f/jal|Magical Support/Status/Compat|Magical Support/Status/Compat}} Modify Ability XA (Support Abilities, Status, Compatibility) |
− | 0018899c: 03e00008 jr r31 | + | 00188978: 00000000 nop | |
− | 001889a0: 00000000 nop | + | 0018897c: 0c0621df jal 0x0018877c |{{f/jal|Elemental XA * YA |Elemental XA * YA }} Turns XA * YA in HP damage / Modify Damage based on Elements / Returns r2 = 0x00 if Attack hits |
+ | 00188980: 00000000 nop | | ||
+ | 00188984: 14400003 bne r2,r0,0x00188994 {{f/Cond|If Attack Hits }} /Else Attack is canceled by elements | ||
+ | 00188988: 00000000 nop | | ||
+ | 0018898c: 0c0621f1 jal 0x001887c4 |{{f/jal|Elemental Absorb/Status|Elemental Absorb/Status}} Deals with Absorption / Roll Proc (19% of chances) and Add Status if successful | ||
+ | 00188990: 00000000 nop | | ||
+ | 00188994: 8fbf0010 lw r31,0x0010(r29) |END | ||
+ | 00188998: 27bd0018 addiu r29,r29,0x0018 | | ||
+ | 0018899c: 03e00008 jr r31 | | ||
+ | 001889a0: 00000000 nop | ||
+ | ===Return location=== | ||
+ | '''Battle.bin''' | ||
+ | 001889bc: [[2Truth/Formula_5E-5F_Calculate_damage]] | ||
+ | 001895e4: [[20_Dmg_(MA*Y)|Formula 20 - Dmg (MA*Y)]] | ||
+ | 001896dc: [[24_Dmg_((PA%2BY)/2*MA)|Formula 24 - Dmg ((PA+Y)/2*MA)]] | ||
+ | 0018a448: [[4E_Dmg_(MA*Y)|Formula 4E - Dmg (MA*Y)]] |
Latest revision as of 19:08, 18 April 2022
Truth/Formula 5E-5F Magical damage: No Parameters Returns r2 = 0x00 if Proc is triggered (not used) Modify XA (Element/Support/Status/Compatibility) Set HP damage = XA*YA and process it through elemental resistances Roll Status Proc (19% chances) and Add status is successful -------------------------------------------------------------------------------------------- 00188964: 27bdffe8 addiu r29,r29,-0x0018 | 00188968: afbf0010 sw r31,0x0010(r29) | 0018896c: 0c0617ff jal 0x00185ffc |-->Elemental Strengthen XA + 25% if used Ability Element is strengthened 00188970: 00000000 nop | 00188974: 0c0621d1 jal 0x00188744 |-->Magical Support/Status/Compat Modify Ability XA (Support Abilities, Status, Compatibility) 00188978: 00000000 nop | 0018897c: 0c0621df jal 0x0018877c |-->Elemental XA * YA Turns XA * YA in HP damage / Modify Damage based on Elements / Returns r2 = 0x00 if Attack hits 00188980: 00000000 nop | 00188984: 14400003 bne r2,r0,0x00188994 #If Attack Hits /Else Attack is canceled by elements 00188988: 00000000 nop | 0018898c: 0c0621f1 jal 0x001887c4 |-->Elemental Absorb/Status Deals with Absorption / Roll Proc (19% of chances) and Add Status if successful 00188990: 00000000 nop | 00188994: 8fbf0010 lw r31,0x0010(r29) |END 00188998: 27bd0018 addiu r29,r29,0x0018 | 0018899c: 03e00008 jr r31 | 001889a0: 00000000 nop
Return location
Battle.bin 001889bc: 2Truth/Formula_5E-5F_Calculate_damage 001895e4: Formula 20 - Dmg (MA*Y) 001896dc: Formula 24 - Dmg ((PA+Y)/2*MA) 0018a448: Formula 4E - Dmg (MA*Y)