mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Add Paliano Vanguard
This commit is contained in:
@@ -2113,6 +2113,14 @@ public class CardProperty {
|
||||
return false;
|
||||
}
|
||||
return names.contains(card.getName());
|
||||
} else if (property.equals("NotedTypes")) {
|
||||
String types = sourceController.getDraftNotes().get(spellAbility.getHostCard().getName());
|
||||
if (types == null || types.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
List<String> typeList = Lists.newArrayList(types.split(","));
|
||||
|
||||
return Iterables.any(card.getType().getCreatureTypes(), typeList::contains);
|
||||
} else if (property.startsWith("Triggered")) {
|
||||
if (spellAbility instanceof SpellAbility) {
|
||||
final String key = property.substring(9);
|
||||
|
||||
Reference in New Issue
Block a user