Commit 3845c82d authored by mercury233's avatar mercury233

fix GetMonstersInExtraZone

parent cf835c30
...@@ -150,12 +150,12 @@ namespace WindBot.Game ...@@ -150,12 +150,12 @@ namespace WindBot.Game
public List<ClientCard> GetMonstersInExtraZone() public List<ClientCard> GetMonstersInExtraZone()
{ {
return GetMonsters().Where((card, i) => i >= 5).ToList(); return GetMonsters().Where(card => card.Sequence >= 5).ToList();
} }
public List<ClientCard> GetMonstersInMainZone() public List<ClientCard> GetMonstersInMainZone()
{ {
return GetMonsters().Where((card, i) => i < 5).ToList(); return GetMonsters().Where(card => card.Sequence < 5).ToList();
} }
public ClientCard GetFieldSpellCard() public ClientCard GetFieldSpellCard()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment