level 1
在战斗每回合一开始,最上栏会有“战斗”和“逃跑”选项,只有选择“战斗”,才能开始选攻击防御等选项,
怎么才能在战斗一开始,跳过选择“战斗”和“逃跑”选项,直接开始选攻击防御等选项
向大神求教
2019年05月12日 15点05分
1
level 1
去脚本Scene_Battle 2里 ,刷新画面 (同伴命令回合)里面把
# 按下 C 键的情况下
if Input.trigger?(Input::C)
# 同伴指令窗口光标位置分支
case @party_command_window.index
when 0 # 战斗
# 演奏确定 SE
$game_system.se_play($data_system.decision_se)
# 开始角色的命令回合
start_phase3
when 1 # 逃跑
# 不能逃跑的情况下
if $game_temp.battle_can_escape == false
# 演奏冻结 SE
$game_system.se_play($data_system.buzzer_se)
return
end
# 演奏确定 SE
$game_system.se_play($data_system.decision_se)
# 逃走处理
update_phase2_escape
end
return
end
这一段删掉
换成
start_phase3
这句,这样做就能跳过选择了,而且是连第一回合都会直接跳过。如果想保留第一回合也可以就是麻烦的,自己琢磨一下应该也能弄出来
2020年12月09日 13点12分
2
level 1
def update_phase2
start_phase3
end
保留成这样,就行别删多了
2020年12月09日 13点12分
3