• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 19, 2024, 04:22:20 am

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Weapon Formula Rewrite (XML Patch)

Started by EnderC, December 29, 2020, 09:09:08 pm

EnderC

December 29, 2020, 09:09:08 pm Last Edit: August 10, 2021, 07:36:28 pm by EnderC
This patch came from wanting to use the weapon formula table from Raven's Item Workbook and noticing there was a load delay issue when taken as is. The workbook included an update that allows abilities using the weapon formula to include its Y value in the damage formula (the workbook describes this working like the Charge skill but that's not entirely accurate).

This patch takes the base Weapon XA Rewrite found here and adds the Y-value feature without introducing additional formula that were (I think) the part causing the load delay.

In short this lets you customize which weapons use any of the following damage formula:

PA*(Brave/100)*PA
(PA+SP)/2*WP
PA*WP
PA*(Brave/100)*WP
Rdm(PA/2...PA*3/2)*WP
MA*WP
WP*WP
(PA+MA)/2*WP

In addition, any abilities that use your weapon's formula* now add the Y-value to the unit's stats before calculating the result.

* This does not apply to the gun formula WP*WP.

I streamed the process putting this patch together over the last few hours, so if you're interested, check out the VOD here: https://www.twitch.tv/videos/854427761 VOD is now unavailable.

Enjoy!
  • Modding version: PSX
  • Discord username: EnderC