Merge branch 'stx_2' into 'master'

STX - 2 April

See merge request core-developers/forge!4354
This commit is contained in:
Michael Kamensky
2021-04-03 13:53:57 +00:00
5 changed files with 62 additions and 3 deletions

View File

@@ -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;
}
}