mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 15:02:13 -08:00
Revert "Fix ConditionalTargetAdjuster not allowing abilities/cards to be activated/cast when they should be"
This reverts commit 9c52dfa785.
This commit is contained in:
parent
9c52dfa785
commit
dadc677592
1 changed files with 0 additions and 6 deletions
|
|
@ -36,7 +36,6 @@ import mage.target.Target;
|
|||
import mage.target.TargetCard;
|
||||
import mage.target.Targets;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
import mage.target.targetadjustment.ConditionalTargetAdjuster;
|
||||
import mage.target.targetadjustment.GenericTargetAdjuster;
|
||||
import mage.target.targetadjustment.TargetAdjuster;
|
||||
import mage.util.CardUtil;
|
||||
|
|
@ -1075,11 +1074,6 @@ public abstract class AbilityImpl implements Ability {
|
|||
}
|
||||
|
||||
protected static boolean canChooseTargetAbility(Ability ability, Modes modes, Game game, UUID controllerId) {
|
||||
if (ability.getTargetAdjuster() != null && ability.getTargetAdjuster() instanceof ConditionalTargetAdjuster){
|
||||
// ConditionalTargetAdjuster can sometimes make the target more permissive
|
||||
// So always treat it as satisfying target requirements
|
||||
return true;
|
||||
}
|
||||
int found = 0;
|
||||
for (Mode mode : modes.values()) {
|
||||
boolean validTargets = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue