=begin ######################################## # Easy Restore on Level Up # ######################################## version 1.0 Features: Can restore HP on level up if switch is on Can restore MP on level up if switch is on CREDIT and TERMS: Please visit https://www.caspergaming.com/terms-of-use/ for terms of use and credit guidelines =end ############### # SETUP START # ############### module CASPER_LVLUP # Don't Touch RESTORE_HP_SWITCH = 1 # If this switch is on, HP will restore on level up. RESTORE_MP_SWITCH = 1 # If this switch is on, MP will restore on level up. ############# # SETUP END # ############# end # Don't Touch This or Anything Below class Game_Actor < Game_Battler include CASPER_LVLUP alias casper_level_up level_up unless $@ def level_up casper_level_up if $game_switches[RESTORE_HP_SWITCH] @hp = maxhp end if $game_switches[RESTORE_MP_SWITCH] @mp = maxmp end end end