mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
CardProperty: fixed surged
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user