mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed Crown of Vigor
This commit is contained in:
@@ -5903,7 +5903,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
if (list.isEmpty() || !this.sharesCreatureTypeWith(list.get(0))) {
|
||||
return false;
|
||||
}
|
||||
} if (restriction.equals("Enchanted")) {
|
||||
} else if (restriction.equals("Enchanted")) {
|
||||
for (final SpellAbility sa : source.getCharacteristics().getSpellAbility()) {
|
||||
final SpellAbility root = sa.getRootAbility();
|
||||
Card c = source.getEnchantingCard();
|
||||
@@ -5916,12 +5916,12 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
}
|
||||
} if (restriction.equals("Equipped")) {
|
||||
} else if (restriction.equals("Equipped")) {
|
||||
if (source.isEquipping() && this.sharesCreatureTypeWith(source.getEquippingCard())) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
} if (restriction.equals("Remembered")) {
|
||||
} else if (restriction.equals("Remembered")) {
|
||||
for (final Object rem : source.getRemembered()) {
|
||||
if (rem instanceof Card) {
|
||||
final Card card = (Card) rem;
|
||||
@@ -5931,7 +5931,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} if (restriction.equals("AllRemembered")) {
|
||||
} else if (restriction.equals("AllRemembered")) {
|
||||
for (final Object rem : source.getRemembered()) {
|
||||
if (rem instanceof Card) {
|
||||
final Card card = (Card) rem;
|
||||
|
||||
Reference in New Issue
Block a user