mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Card: remove unused hasEmbalm and hasEternalize again
This commit is contained in:
@@ -4850,20 +4850,6 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else if (property.startsWith("hasEmbalm")) {
|
||||
for (final SpellAbility sa : getSpellAbilities()) {
|
||||
if (sa.getApi() == ApiType.CopyPermanent && sa.hasParam("Embalm")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else if (property.startsWith("hasEternalize")) {
|
||||
for (final SpellAbility sa : getSpellAbilities()) {
|
||||
if (sa.getApi() == ApiType.CopyPermanent && sa.hasParam("Eternalize")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
} else if (property.startsWith("DrawnThisTurn")) {
|
||||
if (!getDrawnThisTurn()) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user