- Joined
- Sep 20, 2012
- Messages
- 8
- Reaction score
- 0
- First Language
- German
- Primarily Uses
Thanks, I don't have time to test it right now, but I hope it'll work.ok, heres what to do,
step 1 - make sure you have version 1.9 of the script, if not you can get it from my blog (link is in my spoiler)
step 2 - go to class Game_Actor < Game_Battler around line 1660
step 3 - put the following peice of code under other attr_reader methods
step 4 - below the attr_reader methods you should see a method called initialize, replace the method with thisCode:attr_reader :gain_mp_reg
step 5 - go to the very bottom of the script and you should find a method called "mag_option_stat_mods", within that method you should seeCode:alias old_initialize initialize def initialize(actor_id) old_initialize(actor_id) @level_up_pts = 0 @atti_ptz = 0 @MAX_VIT = DPB::PSPDS::DEFAULT_MAX_VIT @MAX_STR = DPB::PSPDS::DEFAULT_MAX_STR @MAX_DEX = DPB::PSPDS::DEFAULT_MAX_DEX @MAX_MAG = DPB::PSPDS::DEFAULT_MAX_MAG @gain_mp_reg = true end def stop_mp_reg @gain_mp_reg = false end
simply highlight that and replace it withCode:@actor.add_xparam(8, DPB::PSPDS::OPTION_4_MRG_GAIN + dpbz_randy(DPB::PSPDS::OP_4_MRG_RAND_MIN, DPB::PSPDS::OP_4_MRG_RAND_MAX))
step 6 - you can now use a script call like this (replace X with an actors id )Code:if @actor.gain_mp_reg @actor.add_xparam(8, DPB::PSPDS::OPTION_4_MRG_GAIN + dpbz_randy(DPB::PSPDS::OP_4_MRG_RAND_MIN, DPB::PSPDS::OP_4_MRG_RAND_MAX)) end
that will stop it for you, however i will update the whole script tonight to include this script call and "stopping" mp regen function for everything, e.g when you give a weapon mag it would still increase the mp regenCode:$game_actors[X].stop_mp_reg
is there any other stats that you are wanting to stop ? if so let me know and il try include them, but for now imust leave, good luck with implimenting this in your game and if you cannotdo it i will upload the changes in an update tomorow![]()
If you implement this into your updated version of your script, you could probably add the same function for HP reg and TP reg, since I guess those are also ex-parameters that people might want to disable for certain actors only.

