Users browsing this thread: 1 Guest(s)
Bugfix: refresh spell availability after MP-crit

#1
Posts: 9
Threads: 3
Thanks Received: 14
Thanks Given: 2
Joined: Apr 2021
Reputation: 0
Status
None
Typically, when using a weapon that consumes MP for automatic critical hits (think Punisher, Ogre Nix, Ragnarok, etc), the spell availability of the wielder does not refresh correctly after their attack resolves and their MP updates. This can cause them to be able to select a spell to cast that they cannot actually afford anymore, which is inconsistent with how the game handles a lack of MP normally. This behaviour is especially noticeable if you have a source of counter-attack, such as a Black Belt, as the attack that depletes your MP could happen while you are browsing for a spell to cast!

This Patch fixes this by performing the same operation that would happen after receiving any other source of MP damage (or healing). It makes you unable to select spells that you cannot afford to cast after an MP-crit attack. It does not, however, refresh the text of the open Magic/Lore menus (neither do other MP-affecting effects), so spells will still appear castable that you cannot cast anymore, even though you cannot select them. Closing and reopening the menu does update the spell text correctly.

I tried to fix that too, but got a little lost in the neighborhood of the routine for building the magic menu – so if anyone has any ideas, feel free to take this patch and run with it.

ASM source and IPS patches available on my github here: https://github.com/SirNewtonFig/FF6-mp-crit-refresh
  Find
Quote  
[-] The following 2 users say Thank You to SirNewtonFig for this post:
  • Gens (06-10-2021), Gi Nattak (06-10-2021)

#2
Posts: 182
Threads: 1
Thanks Received: 70
Thanks Given: 20
Joined: Oct 2015
Reputation: 18
Status
None
George Harrison paging the Be Sharps:
http://assassin17.brinkster.net/patches.htm#anchor28
Quote  
[-] The following 1 user says Thank You to assassin for this post:
  • SirNewtonFig (06-10-2021)

#3
Posts: 2,351
Threads: 93
Thanks Received: 346
Thanks Given: 318
Joined: Aug 2009
Reputation: 44
Status
Nattak\'d
Welp, looks like we've come full circle lol.


We are born, live, die and then do the same thing over again.
Quote  

#4
Posts: 9
Threads: 3
Thanks Received: 14
Thanks Given: 2
Joined: Apr 2021
Reputation: 0
Status
None
Well, you know what they say: imitation is the sincerest form of flattery. Or ignorance, in my case...

I figured where it was such a simple fix, one of the old guard must have fixed it by now. But then, I thought: why wouldn't BTB/Synchysi have included the fix in BNW?

Anyway, thanks for the history lesson (and the tour of C2)!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite