• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 28, 2024, 12:27:26 am

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


ASM for formula change

Started by Conlius, July 05, 2012, 11:54:21 am

Conlius

Haven't been able to find any ASMs for a straight formula hack to sword skills.

Anyways to change the PA * (WP + Y) & inflict status to...PA + WP + Y & inflict status?  Or to similar effects such as dark/night swords Drain_PA*WP or mighty swords PA*WP & break?  I don't think that multiplication scales well here.

Sterling LaVaughn

Made a version that almost completely works (right now damage mods only affect PA). They're pathetically weak though, a level 50 Orlandu with Excalibur does about 30 per hit. Kinda defeats the point of anything except breaking gear and praying for status, and I can't imagine the computer ever using them. You sure you want this?

Conlius

negative.  My plan was to increase WP and PA ranges based on level.  Have items scale up higher (and more evenly) and also have PA multipliers higher.  That way, you would still hit for less while also creating a little bit more room for creativity.

Sterling LaVaughn

July 07, 2012, 02:09:33 am #3 Last Edit: July 07, 2012, 02:14:59 am by Sterling LaVaughn
Well, here's the unfinished patch for now. I don't know how the good ASM guys decide on where to put stuff, so I just dumped it in Steal Exp for now. Lemme know if you want to move it and don't know how.

   <Patch name="Holy/Mighty/Dark Sword become WP+PA+Y, Steal Exp gutted">
    <Description>Describe Your Patch Here</Description>
    <Location file="BATTLE_BIN" offset="0122870">
E8FFBD27
1000BFAF
7E21060C
00000000
3E19060C
00000000
1980033C
CE386394
1980023C
D0384294
00000000
21204300
1980033C
902D638C
80000234
250062A0
040064A4
00000000
1000BF8F
1800BD27
0800E003
00000000
    </Location>
    <Location file="BATTLE_BIN" offset="0122B48">
      1C26060C
    </Location>
    <Location file="BATTLE_BIN" offset="0122C0C">
      1C26060C
    </Location>
    <Location file="BATTLE_BIN" offset="0122C70">
      1C26060C
    </Location>
    <Location file="BATTLE_BIN" offset="0122CB0">
      1C26060C
    </Location>
  </Patch>


Seeing your posts in the other section leads me to believe you'd be better off with having this apply to more than just Swordskills though. If you're still using regular physical formulas and you just want those moves to be weaker than WP*PA, check out Glain's hack to allow negative values for Y.

edit: didn't actually post the unfinished hack, oops

formerdeathcorps

What exactly is the problem with scaling again?
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

Conlius

Sweet thanks! I'll give this a try and see how it works out.

Scaling: Two numbers multiplied together grow very fast when you get to higher numbers.  In the patch I am working on, PA/WP/MA have much higher multipliers to create a little extra diversity. 

formerdeathcorps

But in a multiplicative system, that's NOT how you scale.

In an additive system, if 20 PA and WP is average, then 40 PA/WP would become strong.
In a multiplicative system, the above would be 6 PA and WP on average and 9 PA/WP when strong.  As long as you keep WP maximum different between classes, you should have the same kind of scaling (but the numbers are smaller, making certain formulas more interchangeable).
The destruction of the will is the rape of the mind.
The dogmas of every era are nothing but the fantasies of those in power; their dreams are our waking nightmares.

Conlius

larger range of PA/WP/MP results in various damage numbers as well.  Yes, you can use fury as well, but this is one approach.  If I use addition for most of my skillets, it will no longer be a multiplicative system.  I don't want numbers as low as 6/9 PA in good gear at high levels.  There is a hit point cap and I do not like critical strikes hitting for 400+ damage. 

There is a reason to my madness, you are only seeing one part of the big picture of this personal patch (simply because I'm not sharing more).  I understand that you really want to stress how you would do it.  This is something that I am interested in doing.