本帖最后由 soulsaga 于 2017-8-10 15:55 编辑
class Game_Interpreter def command_339 for i in 0..$game_troop.members.size if $game_troop.members[i].state?(25) @params[3] = i break end end iterate_battler(@params[0], @params[1]) do |battler| next if battler.death_state? battler.force_action(@params[2], @params[3]) BattleManager.force_action(battler) Fiber.yield while BattleManager.action_forced? end end end
class Game_Interpreter
def command_339
for i in 0..$game_troop.members.size
if $game_troop.members[i].state?(25)
@params[3] = i
break
end
end
iterate_battler(@params[0], @params[1]) do |battler|
next if battler.death_state?
battler.force_action(@params[2], @params[3])
BattleManager.force_action(battler)
Fiber.yield while BattleManager.action_forced?
end
end
end
插入到MAIN以上..
这脚本只是把强制行动对像的目标改成有倒地的ID..
state?(25)是倒地状态
追打倒地的技能调用公共事件条件分岐8个敌人是否有该状态
执行强制行动即可.. |