mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48: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;
|
||||
}
|
||||
} else if (property.startsWith("surged")) {
|
||||
if (!card.isOptionalCostPaid(OptionalCost.Surge)) {
|
||||
if (card.getCastSA() == null) {
|
||||
return false;
|
||||
}
|
||||
return card.getCastSA().isSurged();
|
||||
} else if (property.startsWith("evoked")) {
|
||||
if (card.getCastSA() == null) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user