Final Fantasy Hacktics

Modding => Help! => Topic started by: Misaki on December 13, 2018, 10:52:29 pm

Title: Skill and Weapon Formulas
Post by: Misaki on December 13, 2018, 10:52:29 pm
So, like everyone here, I love playing FFT mods, but it's kinda rare to find mods with something like a spreadsheet listing skill and weapon formulas, which is very sad for me since I really love to make calculations and stuff while I'm playing.
On to the question: is there a convenient way to extract the formulas from mod patches? My knowledge when it comes to modding is close to 0.
Thanks in advance!  :D
Title: Re: Skill and Weapon Formulas
Post by: Nyzer on December 14, 2018, 12:02:04 am
The FFTPatcher shows all ability formulas. There are so few weapon formulas no one ever bothered incorporating them into the Patcher but I'm sure they're listed on a wiki somewhere.
Title: Re: Skill and Weapon Formulas
Post by: Misaki on December 14, 2018, 10:22:07 am
I was kinda lost using FFTPatcher, since all the skills are named after the original game, even though they were completely edited by the modders. Using FFTacText I was able to understand stuff properly. Thanks!
Title: Re: Skill and Weapon Formulas
Post by: Nyzer on December 14, 2018, 10:24:16 am
Yeah, you'd need to edit the names in the Patcher since it doesn't draw from the game's text at all. And most people don't bother.
Title: Re: Skill and Weapon Formulas
Post by: 3lric on December 15, 2018, 07:54:20 pm
That or acquire the resources.zip used in creating the mod, from the mod creator, those you may not be able to get some of those, like from JoT5. The author of that mod is prettt strict about not giving out the resources.
Title: Re: Skill and Weapon Formulas
Post by: Nyzer on December 15, 2018, 08:45:36 pm
Yeah, and I heard he's an admin on some obscure forum somewhere, where he bans people left and right just for being new.

What a jerk.
Title: Re: Skill and Weapon Formulas
Post by: Misaki on December 18, 2018, 05:45:52 pm
I'm better at using the programs now, but I still haven't figured out what happens here:
(https://scontent.fpoa21-1.fna.fbcdn.net/v/t1.15752-9/48358741_1221820377959254_8561330195707985920_n.png?_nc_cat=105&_nc_ht=scontent.fpoa21-1.fna&oh=9ffdf25e13bfc1af11fa786311ba7ecd&oe=5CA4D0C4)

This one's Envenom, from the Enchanter in Celdia Patch (which is a weapon-based skill)

(https://scontent.fpoa21-1.fna.fbcdn.net/v/t1.15752-9/48413104_391415451400442_3361651747025059840_n.png?_nc_cat=102&_nc_ht=scontent.fpoa21-1.fna&oh=749c4da1a4947f13fea5b70fe1a8a741&oe=5C98AAFD)

And then this is Hex (from the Enchanter as well)

Comparing the Enchanter skills in the game, it looks like the difference between the Y variables changes the skill damage in about 10 points (this value probably depends on the weapon I'm using).

(https://scontent.fpoa21-1.fna.fbcdn.net/v/t1.15752-9/48391521_591768707948204_3620588303029370880_n.png?_nc_cat=101&_nc_ht=scontent.fpoa21-1.fna&oh=816f87837ea43b43059be222b4e2d7a2&oe=5CA6FA4A)

Finally, this is the damage formula for the weapon I'm using (Pisces vs Pisces situation - no Zodiac effect):
A basic attack causes 64 damage.
Envenom deals 40 damage.
Hex damage is 50.

At first, I thought that the skill would just use the weapon formula and that's it, but looks like the Y variable is changing the result quite a lot.
And now, after all the dumb stuff:
Is there a way to retrieve this '(blank)' value?   :lol:
Title: Re: Skill and Weapon Formulas
Post by: Nyzer on December 19, 2018, 12:41:01 am
Celdia probably inserted a custom formula into that slot. An ASM likely exists for it somewhere; check her patch notes & topics to find out.
Title: Re: Skill and Weapon Formulas
Post by: Misaki on December 19, 2018, 10:06:16 am
I thought that custom formulas would appear as usual but looks like Link's Fire/Ice/Light Arrows (Journey of the 5) also have a custom damage formula (blank). I'll search for the ASM then, thanks  :D
Title: Re: Skill and Weapon Formulas
Post by: Raijinili on December 27, 2018, 03:07:33 pm
Default weapon formulas don't appear in FFTPatcher because they are hardcoded (http://ffhacktics.com/wiki/Base_XA_Calculation), and changing them requires ASM hacks.

Individual weapons' formulas can be changed in FFTPatcher. In fact, all vanilla Guns and Magic Guns don't use the default formulas.