After I added some skills that absorbed HP, I found that the multi hit function stopped working. Both @MULTI_HIT and @ABSORB_HP_SP were set to true and the HP absorbing skills worked fine, but when I set the latter back to false my multi hit skills began working as intended again. It seems like the code for these two functions are conflicting with each other, and there may be other odd incompatibilities like this that I haven't found yet.
[XP] Tons of Add-ons Multi-Hit and Absorb HP/SP are incompatible.
RGSSx Script SupportI made the edit and did a little more testing. Multi-hits from basic enemy attacks seem to work fine now, but any multi-hit skill now causes a crash after the first hit with the following error message:
Script 'TonsOfAddons-2' line 4262: NoMethodError occurred.
undefined method 'sp_cost' for nil:NilClass
In the absorb script, right above the line where I mention making the fix, change it from
To just
Code:
@skill, @phase4_step = nil, 6
Code:
@phase4_step = 6
Thank you. The multi hit skills and absorb HP/SP skills both seem to be working now.
Original thread: https://forums.rpgmakerweb.com/threads/xp-tons-of-add-ons-multi-hit-and-absorb-hp-sp-are-incompatible.171738/