Some Reflections cards

This commit is contained in:
marcin.sciesinski
2019-09-12 16:54:09 -07:00
parent 50a91043da
commit b153a608e9

View File

@@ -830,5 +830,9 @@ public class BuiltLotroCardBlueprint implements LotroCardBlueprint {
throw new InvalidCardDefinitionException("Site has to have a block defined");
if (siteBlock != null && cardType != CardType.SITE)
throw new InvalidCardDefinitionException("Block defined for card, that is not site");
if (targetFilters != null && keywords != null) {
if (keywords.size() > 1 && keywords.containsKey(Keyword.TALE))
throw new InvalidCardDefinitionException("Attachment should not have keywords");
}
}
}