class Game_Actor
Force_Attack_Battlers = [1]
attr_accessor :force_attacking
alias_method :seph_forceattacking_gmactr_setup, :setup
def setup(actor_id)
seph_forceattacking_gmactr_setup(actor_id)
@force_attacking = Force_Attack_Battlers.include?(actor_id)
end
end
class Scene_Battle
Force_Attack_Battlers = [1]
alias_method :seph_forceattackbattlers_scnbtl_p3na, :phase3_next_actor
def phase3_next_actor
seph_forceattackbattlers_scnbtl_p3na
return if @phase == 4
if @active_battler.force_attacking
@active_battler.current_action.kind = 0
@active_battler.current_action.basic = 0
@active_battler.current_action.target_index = rand($game_troop.enemies.size)
phase3_next_actor
end
end
end