- Better script for Daybreak Coronet

This commit is contained in:
swordshine
2014-02-26 07:35:33 +00:00
parent 5bc21dd200
commit 14a9126933
2 changed files with 12 additions and 4 deletions

View File

@@ -5608,6 +5608,13 @@ public class Card extends GameEntity implements Comparable<Card> {
}
}
}
} else { // EnchantedBy Aura.Other
for (final Card aura : this.getEnchantedBy()){
if (aura.isValid(restriction, sourceController, source)) {
return true;
}
}
return false;
}
}
} else if (property.startsWith("NotEnchantedBy")) {
@@ -6388,6 +6395,10 @@ public class Card extends GameEntity implements Comparable<Card> {
if (!this.isEnchanted()) {
return false;
}
} else if (property.startsWith("enchanted")) {
if (!this.isEnchanted()) {
return false;
}
} else if (property.startsWith("unenchanted")) {
if (this.isEnchanted()) {
return false;