CardProperty: fixed surged

This commit is contained in:
Hanmac
2018-08-30 21:18:08 +02:00
parent 73b94a63a5
commit f967d9885a

View File

@@ -1614,9 +1614,10 @@ public class CardProperty {
if (card.isOptionalCostPaid(OptionalCost.Generic)) return false; if (card.isOptionalCostPaid(OptionalCost.Generic)) return false;
} }
} else if (property.startsWith("surged")) { } else if (property.startsWith("surged")) {
if (!card.isOptionalCostPaid(OptionalCost.Surge)) { if (card.getCastSA() == null) {
return false; return false;
} }
return card.getCastSA().isSurged();
} else if (property.startsWith("evoked")) { } else if (property.startsWith("evoked")) {
if (card.getCastSA() == null) { if (card.getCastSA() == null) {
return false; return false;