Advertisement
Guest User

Heal on level up

a guest
Feb 7th, 2013
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.99 KB | None | 0 0
  1. #==============================================================================
  2. # ** Game_Actor
  3. # Rpg Maker VX Ace
  4. #==============================================================================
  5. # **By Bigbadke12
  6. # **Restore all stats on level up
  7. #Heal on level up by Bigbadke12 is licensed under a Creative Commons
  8. #Attribution-NonCommercial-NoDerivs 3.0 Unported License.
  9. #==============================================================================
  10. class Game_Actor
  11. #--------------------------------------------------------------------------
  12. # * Alias Listing
  13. #-------------------------------------------------------------------------
  14. alias_method :meph_restlvlup_gactor_lvlup, :level_up
  15. #--------------------------------------------------------------------------
  16. # * Level Up
  17. #--------------------------------------------------------------------------
  18. def level_up
  19. # The Usuall
  20. meph_restlvlup_gactor_lvlup
  21. # Recover all (HP, MP, Remove States)
  22. recover_all
  23. end
  24. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement