[BOT] Implemented Flamewar, Brash Veteran / Flamewar, Streetwise Operative

This commit is contained in:
Evan Kranzler 2022-10-11 21:15:53 -04:00
parent 4d81b76180
commit 17be0c11ba
5 changed files with 206 additions and 1 deletions

View file

@ -96,6 +96,7 @@ public enum CounterType {
INDESTRUCTIBLE("indestructible"),
INFECTION("infection"),
INGENUITY("ingenuity"),
INTEL("intel"),
INTERVENTION("intervention"),
INVITATION("invitation"),
ISOLATION("isolation"),

View file

@ -86,7 +86,7 @@ public class Exile implements Serializable, Copyable<Exile> {
List<Card> res = new ArrayList<>();
for (ExileZone exile : exileZones.values()) {
for (Card card : exile.getCards(game)) {
if (fromPlayerId == null || card.getOwnerId().equals(fromPlayerId)) {
if (fromPlayerId == null || card.isOwnedBy(fromPlayerId)) {
res.add(card);
}
}