mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Merge branch 'fixKick' into 'master'
Fix isKicked See merge request core-developers/forge!3977
This commit is contained in:
@@ -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")) {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user