forked from External/mage
[Ready for review] Implementing Warp mechanic (#13847)
* add initial warp mechanic implementation * a few small changes * add hand restriction * add void support * add test * [EOE] Implement Timeline Culler * add void test * [EOE] Implement Close Encounter * [EOE] Implement Tannuk, Steadfast Second * a few requested changes * add comment * [EOE] Implement Full Bore * small rewrite * merge fix * remove reminder text * small code rewrite
This commit is contained in:
parent
ae0e4e1483
commit
df70ab7c8a
9 changed files with 752 additions and 15 deletions
|
|
@ -8,6 +8,7 @@ import mage.abilities.costs.mana.ManaCosts;
|
|||
import mage.abilities.keyword.BestowAbility;
|
||||
import mage.abilities.keyword.PrototypeAbility;
|
||||
import mage.abilities.keyword.TransformAbility;
|
||||
import mage.abilities.keyword.WarpAbility;
|
||||
import mage.cards.*;
|
||||
import mage.constants.*;
|
||||
import mage.counters.Counter;
|
||||
|
|
@ -421,6 +422,7 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
} else {
|
||||
MageObjectReference mor = new MageObjectReference(getSpellAbility());
|
||||
game.storePermanentCostsTags(mor, getSpellAbility());
|
||||
WarpAbility.addDelayedTrigger(getSpellAbility(), game);
|
||||
return controller.moveCards(card, Zone.BATTLEFIELD, ability, game, false, faceDown, false, null);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue