本帖最后由 我为鱼肉 于 2022-8-25 14:38 编辑  
 
# 受到伤害的情况【改变战斗图位置】     # 排除捕捉和防御的情况     if @active_battler.current_action.kind != 3 and        @active_battler.current_action.basic != 1             # 【挨打移动】位置       for target in @target_battlers               next if target.damage == "Miss" or target.damage.to_i <= 0         target.movex = @active_battler.is_a?(Game_Enemy) ? 8 : -8         target.movey = target.movex       end     end 
 
 # 受到伤害的情况【改变战斗图位置】  
    # 排除捕捉和防御的情况  
    if @active_battler.current_action.kind != 3 and   
      @active_battler.current_action.basic != 1  
   
   
   
      # 【挨打移动】位置  
      for target in @target_battlers        
        next if target.damage == "Miss" or target.damage.to_i <= 0  
        target.movex = @active_battler.is_a?(Game_Enemy) ? 8 : -8  
        target.movey = target.movex  
      end  
   
  end  
 
  |