def check_active
all_members.each do |battler|
if battler.time_val >= TIME_SLOT_MAX
#BattleManager.turn_start
battler.show_active = true
#msgbox "时间条满"
battler.time_val %= TIME_SLOT_MAX
if battler.is_a?(Game_Enemy)
#puts"敌人 #{battler}时间条满"
command_wait
####这里怎么写呢?
#slot_wait
set_no_event
elsif battler.is_a?(Game_Actor)
#puts "角色 #{battler}时间条满"
BattleManager.command_wait
command_wait
@window_panel.setup(battler)
end
end
end
def check_active
all_members.each do |battler|
if battler.time_val >= TIME_SLOT_MAX
#BattleManager.turn_start
battler.show_active = true
#msgbox "时间条满"
battler.time_val %= TIME_SLOT_MAX
if battler.is_a?(Game_Enemy)
#puts"敌人 #{battler}时间条满"
command_wait
####这里怎么写呢?
#slot_wait
set_no_event
elsif battler.is_a?(Game_Actor)
#puts "角色 #{battler}时间条满"
BattleManager.command_wait
command_wait
@window_panel.setup(battler)
end
end
end