mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +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")) {
|
if (card.hasSVar("NeedsToPlayEvokedVar")) {
|
||||||
needsToPlayVarName = "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
|
// if the spell is kicked, uses NeedsToPlayKicked if able and locks out the regular NeedsToPlay check
|
||||||
// for unkicked spells, uses NeedsToPlay
|
// for unkicked spells, uses NeedsToPlay
|
||||||
if (card.hasSVar("NeedsToPlayKicked")) {
|
if (card.hasSVar("NeedsToPlayKicked")) {
|
||||||
|
|||||||
@@ -655,7 +655,7 @@ public abstract class SpellAbility extends CardTraitBase implements ISpellAbilit
|
|||||||
|
|
||||||
public boolean isKicked() {
|
public boolean isKicked() {
|
||||||
return isOptionalCostPaid(OptionalCost.Kicker1) || isOptionalCostPaid(OptionalCost.Kicker2) ||
|
return isOptionalCostPaid(OptionalCost.Kicker1) || isOptionalCostPaid(OptionalCost.Kicker2) ||
|
||||||
getMultiKickerManaCost() != null;
|
getHostCard().getKickerMagnitude() > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEntwine() {
|
public boolean isEntwine() {
|
||||||
|
|||||||
Reference in New Issue
Block a user