• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 19, 2024, 02:41:02 pm

Some Formula Questions

Started by Lionheart537, August 14, 2017, 08:19:36 pm

Lionheart537

I have searched around and found some answers to these but i just want to confirm I understand correctly.

1. If a formula is 100% status it functions as follows, right?
All or nothing=Always inflict status if the attack hits. Random=always inflict one of the checked statii (chosen at random) if the attack hits. Seperate=all checked statii roll a 25% proc chance if the attack hits.
     1a. And if a formula allows status but doesn't specify 100% it has a 19% proc?

2. To make swordskills evadeable/blockable do i have to change the formula or will a simple "uncheck" of that flag suffice?

3. The revive formulas heal a specified % of hp but recquire the status be influcted to heal? Can you remove any status infliction to guarantee the healing?
     3a. Is there an existing formula for mp heal add status?

4. Is there an existing formula that damages both hp and mp?

Thanks in advance!
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0

Emmy

1. Yes.
1a. Depends on the formula.  Some, for example, have a hit rate like fa(ma+x)%, pa+x%, whatever else.  For abilities that proc status/ability, it's always 100% or 19%.

2. Pretty sure these formulas take most flags without having to edit the formula.

3.  Not sure if this is what you're looking for, but this will heal regardless of if the unit has the status or not if the move hits.  It reverses on undead, and 100% applies the status if it hits.  Which means you can use it to revive if you set the status inflicted to include "cancel dead."


  <Patch name="Formula 3F - Fa(MA+X)% hit rate, Quadratic heal, 100% status">
    <Description>^^^^^</Description>
    <Location file="BATTLE_BIN" offset="12302c">
E8FFBD27
1000BFAF
6017060C
00000000
0022060C
00000000
09004014
00000000
3017060C
00000000
1622060C
00000000
D41C060C
00000000
AD1F060C
00000000
1000BF8F
1800BD27
0800E003
00000000
    </Location>
  </Patch>


3a. This is heal MP with 19% status proc.


  <Patch name="Formula 27 = Improved Mana Battery">
    <Description>Heal Mp (PA+Y)/2 * MA, inflict status 19%</Description>
    <Location file="BATTLE_BIN" offset="122828">
E8FFBD27
1000BFAF
5017060C
00000000
1622060C
00000000
3B1D060C
00000000
3021060C
00000000
03004014
00000000
AD1F060C
00000000
1000BF8F
1800BD27
0800E003
00000000
    </Location>
  </Patch>


4. I have a few formulas that can damage both HP and MP, this is the least gimmicky of them.


  <Patch name="Formula 60 = Physical elemental damage hp/mp">
    <Description>Requires physical elemental inner routine. Accepts evasion and element.  If it deals damage, will deal MP damage equal to the damage dealt.  If it heals, will heal MP equal to the damage healed.</Description>
    <Location file="BATTLE_BIN" offset="123af8">
      53790508
      00000000
    </Location>
    <Location file="BATTLE_BIN" offset="f754c">
      E8FFBD27
      1000BFAF
      4421060C
      00000000
      13004014
      00000000
      1B79050C
      00000000
      19800A3C
      902D498D
      00000000
      04002395
      06002495
      25002591
      04006010
      00000000
      080023A5
      2000A534
      250025A1
      04008010
      00000000
      0A0024A5
      1000A534
      250025A1
      1000BF8F
      1800BD27
      0800E003
      00000000
    </Location>
  </Patch>

  <Patch name="Inner routine - physical elemental damage">
    <Description>Returns r2 = 0 if conditional 19% roll hits.  Calculates critical hit, element, physical damage using punch art formula.  A requirement for several formulas, as listed in description.</Description>
    <Location file="BATTLE_BIN" offset="f746c">
E8FFBD27
1000BFAF
4017060C
00000000
3E19060C
00000000
FF17060C
00000000
7E21060C
00000000
DF21060C
00000000
05004014
00000000
3F1C060C
00000000
3021060C
00000000
1000BF8F
1800BD27
0800E003
00000000
    </Location>
  </Patch>


Attaching my formula pack in case you have other formula requests.
  • Modding version: PSX

Lionheart537

Great help as always Emmy  :D i was thinking of percentile based heal formulas but some pretty quadratic equations work great too. I'll mark this as solved.
  • Modding version: PSX
It's not much yet but check out my spriting thread!
http://ffhacktics.com/smf/index.php?topic=11772.0
Here's a look at my vanilla mod thread, progressing one step at a time!
http://ffhacktics.com/smf/index.php?topic=11785.0