forked from External/mage
Fix casting commander transformed (#10790)
Remove CastCommanderAbility and instead apply the modification directly
This commit is contained in:
parent
921b640c33
commit
a756529e05
4 changed files with 12 additions and 42 deletions
|
|
@ -4,7 +4,6 @@ import mage.MageInt;
|
|||
import mage.MageObject;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.*;
|
||||
import mage.abilities.common.CastCommanderAbility;
|
||||
import mage.abilities.common.PlayLandAsCommanderAbility;
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
|
|
@ -13,6 +12,7 @@ import mage.cards.FrameStyle;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.ZoneChangeEvent;
|
||||
import mage.util.SubTypes;
|
||||
|
|
@ -55,7 +55,7 @@ public class Commander extends CommandObjectImpl {
|
|||
case ADVENTURE_SPELL:
|
||||
// can be used from command zone
|
||||
if (canUseAbilityFromCommandZone(spellAbility)) {
|
||||
abilities.add(new CastCommanderAbility(card, spellAbility));
|
||||
abilities.add(spellAbility.copyWithZone(Zone.COMMAND));
|
||||
}
|
||||
break;
|
||||
case FACE_DOWN_CREATURE: // dynamic added spell for alternative cost like cast as face down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue