#--------------------------------------------------------------------------
# ● 刷新画面 (主回合步骤 6 : 刷新)
#--------------------------------------------------------------------------
def update_phase4_step6
# 清除强制行动对像的战斗者
$game_temp.forcing_battler = nil
# 公共事件 ID 有效的情况下
if @common_event_id > 0
# 设置事件
common_event = $data_common_events[@common_event_id]
$game_system.battle_interpreter.setup(common_event.list, 0)
end
if @active_battler.class == Game_Actor &&
@active_battler.id == 1 && @active_battler.state?(3) && rand >= 0.5
@active_battler.remove_state(3)
end
# 移至步骤 1
@phase4_step = 1
end
以下引用鲔鱼吐司于2009-5-17 13:24:52的发言:
紫大大~ 如果是25%機率
就把這一句改成這樣嗎?
rand <= 0.25
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |