This commit is contained in:
tool4EvEr
2023-02-01 12:24:38 +01:00
parent 6b0e7c9307
commit e1f70c8906
10 changed files with 7 additions and 17 deletions

View File

@@ -17,7 +17,6 @@ import forge.game.combat.AttackRequirement;
import forge.game.combat.AttackingBand;
import forge.game.combat.Combat;
import forge.game.combat.CombatUtil;
import forge.game.keyword.Keyword;
import forge.game.mana.Mana;
import forge.game.player.Player;
import forge.game.spellability.OptionalCost;
@@ -1020,11 +1019,6 @@ public class CardProperty {
if (!card.hasKeyword(property.substring(10))) {
return false;
}
} else if (property.startsWith("withFlashback")) {
boolean fb = card.hasKeyword(Keyword.FLASHBACK);
if (!fb) {
return false;
}
} else if (property.startsWith("with")) {
// ... Card keywords
if (property.startsWith("without") && card.hasStartOfUnHiddenKeyword(property.substring(7))) {