Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #==============================================================================
- # [RGSS 2] No EXP Gained
- # Version : 1.0
- # Author : LowlingLife
- #==============================================================================
- # Script ini dapat membuat aktor tidak mendapatkan EXP.
- #==============================================================================
- module NoExp
- # ID dari Actor yang tidak mendapat EXP.
- NO_EXP = [1, 2, 3]
- end
- #==============================================================================
- # EDITING BEYOND THIS LINE CAN CAUSE DAMAGE TO YOUR GAME, THEREFORE EDIT
- # WITH YOUR OWN RISK.
- #==============================================================================
- class Scene_Battle < Scene_Base
- include NoExp
- def display_level_up
- exp = $game_troop.exp_total
- for actor in $game_party.existing_members
- unless NO_EXP.include?(actor.id)
- last_level = actor.level
- last_skills = actor.skills
- actor.gain_exp(exp, true)
- end
- end
- wait_for_message
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment