Modding => Help! => Topic started by: Lionheart537 on August 14, 2017, 08:19:36 pm
Title: Some Formula Questions
Post by: Lionheart537 on August 14, 2017, 08:19:36 pm
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!
Title: Re: Some Formula Questions
Post by: Emmy on August 14, 2017, 09:15:04 pm
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."
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.
Title: Re: Some Formula Questions
Post by: Lionheart537 on August 15, 2017, 12:19:06 am
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.