Users browsing this thread: 1 Guest(s)
Condensing Spell List in Battle
10-31-2017, 01:23 AM
as a followup to #1: what about if the CaaM him/herself knows the spell? when i hacked Veldt Gau's monster script to cast Ice upon rejoining, he was missing the 5 MP once back in the party. i suspect this is tied into him already knowing Ice.
also, do your results with and without the patch applied vary at all when the CaaM is ID #0-12 versus 13+ ?
i like this way, but whether a character gets MP in battle hinges on their menu contents, as seibaby got into. and if it's a guest character, they won't even have the RAM data needed to generate anything besides a non-empty spell menu. also, because multiple actors can be put into a slot at different times, we wouldn't want the MP consumption for that slot to persist from one to another; iow, the CaaM MP loading for guests would need to just be one-way.
as alluded to with #2, i think a bounds check in the patch's .findSpell loop to stop Magic spell searching from running into the Lore list (or Lore spell searching from running into lala-land), and instead return 0 MP Cost once passing list's end, would solve this. it'd take extra space, though.
also, do your results with and without the patch applied vary at all when the CaaM is ID #0-12 versus 13+ ?
Quote:A) have the CaaM MP be loaded property to be able to cast the spells,
i like this way, but whether a character gets MP in battle hinges on their menu contents, as seibaby got into. and if it's a guest character, they won't even have the RAM data needed to generate anything besides a non-empty spell menu. also, because multiple actors can be put into a slot at different times, we wouldn't want the MP consumption for that slot to persist from one to another; iow, the CaaM MP loading for guests would need to just be one-way.
Quote:or B) have it not check for MP again. But I have no idea what is happening really.
as alluded to with #2, i think a bounds check in the patch's .findSpell loop to stop Magic spell searching from running into the Lore list (or Lore spell searching from running into lala-land), and instead return 0 MP Cost once passing list's end, would solve this. it'd take extra space, though.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)