mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58: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();
|
curSa = curSa.getSubAbility();
|
||||||
}
|
}
|
||||||
if (!targetValid) {
|
if (st.hasParam("UnlessValidTarget")) {
|
||||||
|
if (targetValid) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else if (!targetValid) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user