Some card fixes

This commit is contained in:
Bug Hunter
2021-05-31 11:10:11 +00:00
committed by Michael Kamensky
parent 51924d16db
commit 450d5b6144
35 changed files with 47 additions and 59 deletions

View File

@@ -143,8 +143,9 @@ public class HumanPlaySpellAbility {
// This line makes use of short-circuit evaluation of boolean values, that is each subsequent argument
// is only executed or evaluated if the first argument does not suffice to determine the value of the expression
final boolean prerequisitesMet = announceValuesLikeX()
&& announceType()
// because of Selective Snare do announceType first
final boolean prerequisitesMet = announceType()
&& announceValuesLikeX()
&& (!mayChooseTargets || ability.setupTargets()) // if you can choose targets, then do choose them.
&& ability.canCastTiming(human)
&& ability.checkRestrictions(human)