forked from External/mage
* Fixed a problem that unintended allowed to cast spells with alternate cost to cast conditions (fixes #6739).
This commit is contained in:
parent
5661bb1bfe
commit
d1e31140cc
3 changed files with 55 additions and 6 deletions
|
|
@ -3207,6 +3207,9 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
// check "can play" condition as affected controller (BUT play from not own hand zone must be checked as original controller)
|
||||
// must check all abilities, not activated only
|
||||
for (Ability ability : candidateAbilities) {
|
||||
if (!(ability instanceof ActivatedAbility)) {
|
||||
continue;
|
||||
}
|
||||
boolean isPlaySpell = (ability instanceof SpellAbility);
|
||||
boolean isPlayLand = (ability instanceof PlayLandAbility);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue