Password 发表于 2013-1-30 16:11 ![]()
P叔,我找到最后定义 start_target_enemy_selection 的脚本中这样写
好吧,你可以试试这样
搜索一下case @actor_command_window.index
case @actor_command_window.index
- when 0
- Sound.play_decision
- @commander.action.set_attack
- start_target_enemy_selection
复制代码 改成when 0 Sound.play_decision @commander.action.set_attack if @commander.weapons.include?($data_weapons[12]) @commander.action.target_index = 0 end_target_selection else start_target_enemy_selection end
when 0
Sound.play_decision
@commander.action.set_attack
if @commander.weapons.include?($data_weapons[12])
@commander.action.target_index = 0
end_target_selection
else
start_target_enemy_selection
end
其中的@commander也可能是@active_battler
反正差不多就是这样的 |