Fix incubator dispatch 997 by using active monsterIds contract
This commit is contained in:
@@ -222,7 +222,7 @@ class WireIntegrationTests(unittest.TestCase):
|
||||
if mon.get("process") == 2: mon["mode"] = 2
|
||||
response = {"resCode": 0}
|
||||
elif self.path.endswith("monsterSell"):
|
||||
mid = body["monsterId"][0]
|
||||
mid = body["monsterIds"][0]
|
||||
state["monsters"] = [m for m in state["monsters"] if m["id"] != mid]
|
||||
for slot in state["stacks"]:
|
||||
if slot["monsterId"] == mid: slot["monsterId"] = 0
|
||||
|
||||
Reference in New Issue
Block a user