OSDN Git Service

通常スロットにダメコンを装備した時のダメコンテストを追加
authormasakih <masakih@users.sourceforge.jp>
Sun, 22 Oct 2017 01:43:44 +0000 (10:43 +0900)
committermasakih <masakih@users.sourceforge.jp>
Sun, 22 Oct 2017 01:43:44 +0000 (10:43 +0900)
KCDTests/BattleAPIsTest.swift

index af32462..4e949fd 100644 (file)
@@ -201,7 +201,8 @@ class BattleAPIsTest: XCTestCase {
             }
             store.ship(by: 6).flatMap {
                 $0.nowhp = $0.maxhp
-                $0.slot_ex = 72418  // ダメコン
+                // ダメコン
+                $0.equippedItem = store.slotItem(by: 72418).map { NSOrderedSet(array: [$0]) } ?? []
             }
         }