mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Bail quicker on illegal SA play (no static depends on targets)
This commit is contained in:
@@ -138,9 +138,9 @@ public class HumanPlaySpellAbility {
|
|||||||
// because of Selective Snare do announceType first
|
// because of Selective Snare do announceType first
|
||||||
final boolean prerequisitesMet = announceType()
|
final boolean prerequisitesMet = announceType()
|
||||||
&& announceValuesLikeX()
|
&& announceValuesLikeX()
|
||||||
|
&& ability.checkRestrictions(human)
|
||||||
&& (!mayChooseTargets || ability.setupTargets()) // if you can choose targets, then do choose them.
|
&& (!mayChooseTargets || ability.setupTargets()) // if you can choose targets, then do choose them.
|
||||||
&& ability.canCastTiming(human)
|
&& ability.canCastTiming(human)
|
||||||
&& ability.checkRestrictions(human)
|
|
||||||
&& ability.isLegalAfterStack()
|
&& ability.isLegalAfterStack()
|
||||||
&& (isFree || payment.payCost(new HumanCostDecision(controller, human, ability, false)));
|
&& (isFree || payment.payCost(new HumanCostDecision(controller, human, ability, false)));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user