Merge branch 'fixKick' into 'master'

Fix isKicked

See merge request core-developers/forge!3977
This commit is contained in:
Michael Kamensky
2021-02-22 19:37:27 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1851,7 +1851,7 @@ public class ComputerUtilCard {
if (card.hasSVar("NeedsToPlayEvokedVar")) {
needsToPlayVarName = "NeedsToPlayEvokedVar";
}
} else if (sa.isKicked() || card.getKickerMagnitude() > 0) {
} else if (sa.isKicked()) {
// if the spell is kicked, uses NeedsToPlayKicked if able and locks out the regular NeedsToPlay check
// for unkicked spells, uses NeedsToPlay
if (card.hasSVar("NeedsToPlayKicked")) {

View File

@@ -655,7 +655,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
public boolean isKicked() {
return isOptionalCostPaid(OptionalCost.Kicker1) || isOptionalCostPaid(OptionalCost.Kicker2) ||
getMultiKickerManaCost() != null;
getHostCard().getKickerMagnitude() > 0;
}
public boolean isEntwine() {