#============================================================================== # ■ RGSS3 強化・弱体自動解除タイミング変更 Ver1.00 by 星潟 #------------------------------------------------------------------------------ # 能力値の強化・弱体の自動解除タイミングを # 行動終了時からターン終了時に変更します。 #============================================================================== class Game_Battler < Game_BattlerBase #-------------------------------------------------------------------------- # 戦闘行動終了時の処理 #-------------------------------------------------------------------------- alias on_action_end_rba_turn_end on_action_end def on_action_end @anti_remove_buffs_auto = true on_action_end_rba_turn_end @anti_remove_buffs_auto = nil end #-------------------------------------------------------------------------- # 強化/弱体の自動解除 #-------------------------------------------------------------------------- alias remove_buffs_auto_rba_turn_end remove_buffs_auto def remove_buffs_auto return if @anti_remove_buffs_auto remove_buffs_auto_rba_turn_end end #-------------------------------------------------------------------------- # ターン終了処理 #-------------------------------------------------------------------------- alias on_turn_end_rba_turn_end on_turn_end def on_turn_end on_turn_end_rba_turn_end remove_buffs_auto_rba_turn_end end end