Add Noble Banneret

This commit is contained in:
Chris H
2024-05-27 21:32:32 -04:00
parent 66bd484f27
commit edb85a18c4
5 changed files with 160 additions and 60 deletions

View File

@@ -2107,6 +2107,12 @@ public class CardProperty {
(colors.contains("black") && card.getColor().hasBlack()) ||
(colors.contains("red") && card.getColor().hasRed()) ||
(colors.contains("green") && card.getColor().hasGreen());
} else if (property.equals("NotedName")) {
String names = sourceController.getDraftNotes().get(spellAbility.getHostCard().getName());
if (names == null || names.isEmpty()) {
return false;
}
return names.contains(card.getName());
} else if (property.startsWith("Triggered")) {
if (spellAbility instanceof SpellAbility) {
final String key = property.substring(9);