mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
CostAdjustment.java support UnlessValidTarget param for Mavinda
This commit is contained in:
@@ -541,7 +541,11 @@ public class CostAdjustment {
|
||||
}
|
||||
curSa = curSa.getSubAbility();
|
||||
}
|
||||
if (!targetValid) {
|
||||
if (st.hasParam("UnlessValidTarget")) {
|
||||
if (targetValid) {
|
||||
return false;
|
||||
}
|
||||
} else if (!targetValid) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user