Users browsing this thread: 1 Guest(s)
Bugfix: refresh spell availability after MP-crit
06-10-2021, 01:03 PM
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
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
![[-]](https://www.ff6hacking.com/forums/ff9/collapse.png)
• Gens (06-10-2021), Gi Nattak (06-10-2021)
George Harrison paging the Be Sharps:
http://assassin17.brinkster.net/patches.htm#anchor28
http://assassin17.brinkster.net/patches.htm#anchor28
06-10-2021, 05:24 PM
Welp, looks like we've come full circle lol.
We are born, live, die and then do the same thing over again.
06-10-2021, 06:09 PM
(This post was last modified: 06-10-2021, 06:09 PM by SirNewtonFig.)
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)!
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)!
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)