mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Add Noble Banneret
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user