OSDN Git Service

被ダメ計算を修正
authormasakih <masakih@users.sourceforge.jp>
Sun, 7 May 2017 14:16:45 +0000 (23:16 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sun, 7 May 2017 14:16:45 +0000 (23:16 +0900)
味方連合艦隊vs敵通常艦隊の夜戦時の被ダメ計算が誤っていたので修正

KCD/CalculateDamageCommand.swift

index a9763f9..597d0d0 100644 (file)
@@ -76,7 +76,10 @@ class CalculateDamageCommand: JSONCommand {
         case .combinedEachBattleWater:
             battleType = .eachCombinedWater
             calculateBattle()
-        case .midnightBattle, .midnightSpMidnight, .combinedMidnightBattle, .combinedSpMidnight:
+        case .midnightBattle, .midnightSpMidnight:
+            calculateMidnightBattle()
+        case .combinedMidnightBattle, .combinedSpMidnight:
+            battleType = .combinedAir
             calculateMidnightBattle()
         case .combinedEcMidnightBattle:
             battleType = .eachCombinedAir