Illuminati3301 0 Posted August 26, 2018 Helllo! i have a huge problem with my game. I was dumb enough to build a huge part of my battle system around Zetu's Alternate MP X, which unfortunately is pretty bugged My problem is that I can't use any MP recovering items while outside of battle, because when I try it just plays the buzzer sound effect and does nothing, even when my MP is empty. However if I use the same item in battle, it works perfectly fine. I know that the problem is rooted in this particular script, because when I removed it I could use my MP recovering items from the menu without a problem. Unfortunately I can't remove the script altogether because as I said, it's pretty prominent in my game. So my request is: could some kind person do a script that would overwrite the conditions that determine whether MP recovering items can be used, so that you could use them from the menu even when the game "thinks" that it's full? Any and all help would be highly appreciated. Share this post Link to post Share on other sites
Black Mage 10 Posted August 26, 2018 (edited) I test it in a fresh project and the MP recovering item works fine. Are you perhaps trying to recover the resource? I've seen the script and it lacks of explanation on what to do, like for an example: How do I increase targeted actor resource by item usage from inventory? Can you explain what you're doing so I can replicate it and find a solution? Or better yet, set a demo that replicate your problem in a fresh project. Btw, I'm using version 1.05. It seems there exist a version 3 of this script. Edited August 26, 2018 by Black Mage Share this post Link to post Share on other sites
Illuminati3301 0 Posted August 26, 2018 (edited) Thank you so much for your reply! I've made the demo for you: http://www.mediafire.com/file/00wtu9qexcczy3m/DEMO_%28MP_PROBLEM%29.rar/file P.S. Also I've just noticed that "Recover All" command doesn't affect MP either. Edited August 26, 2018 by Illuminati3301 Share this post Link to post Share on other sites
Black Mage 10 Posted August 28, 2018 (edited) This script is very buggy indeed. Put this somewhere below Game_Battler script and you should be able to use mp healing item from menu. class Game_Battler < Game_BattlerBase def item_test(user, item) return false if item.for_dead_friend? != dead? return true if $game_party.in_battle return true if item.for_opponent? return true if item.damage.recover? && item.damage.to_hp? && hp < mhp return true if item.damage.recover? && item.damage.to_mp? && mp < mmp a = user.resources[0].value < user.resources[0].max #a = user.resources[0].value <= user.resources[0].max return true if item.damage.recover? && item.damage.to_mp? && a return true if item_has_any_valid_effects?(user, item) return false end end If you want to use mp healing items when your mp is full, remove the # above. Edited August 28, 2018 by Black Mage 1 Share this post Link to post Share on other sites
Illuminati3301 0 Posted August 28, 2018 Thank you so, so so much!!! You are a life saver It works wonderfully! Share this post Link to post Share on other sites