mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
[VOW] added tokens and images support
This commit is contained in:
parent
dd72e078b5
commit
3cb721fbd9
21 changed files with 143 additions and 23 deletions
|
|
@ -14,7 +14,7 @@ import mage.constants.TargetController;
|
|||
import mage.counters.CounterType;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.token.EdgarMarkovsCoffinToken;
|
||||
import mage.game.permanent.token.EdgarMarkovsCoffinVampireToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ public final class EdgarMarkovsCoffin extends CardImpl {
|
|||
|
||||
// At the beginning of your upkeep, create a 1/1 white and black Vampire creature token with lifelink and put a bloodline counter on Edgar Markov's Coffin. Then if there are three or more bloodline counters on it, remove those counters and transform it.
|
||||
Ability ability = new BeginningOfUpkeepTriggeredAbility(
|
||||
new CreateTokenEffect(new EdgarMarkovsCoffinToken()),
|
||||
new CreateTokenEffect(new EdgarMarkovsCoffinVampireToken()),
|
||||
TargetController.YOU, false
|
||||
);
|
||||
ability.addEffect(new AddCountersSourceEffect(
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import mage.filter.common.FilterControlledPermanent;
|
|||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.permanent.token.BloodToken;
|
||||
import mage.game.permanent.token.EdgarMarkovsCoffinToken;
|
||||
import mage.game.permanent.token.EdgarMarkovsCoffinVampireToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -49,7 +49,7 @@ public final class GlassCastHeart extends CardImpl {
|
|||
|
||||
// {B}, {T}, Pay 1 life: Create a 1/1 white and black Vampire creature token with lifelink.
|
||||
Ability ability = new SimpleActivatedAbility(
|
||||
new CreateTokenEffect(new EdgarMarkovsCoffinToken()), new ManaCostsImpl<>("{B}")
|
||||
new CreateTokenEffect(new EdgarMarkovsCoffinVampireToken()), new ManaCostsImpl<>("{B}")
|
||||
);
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addCost(new PayLifeCost(1));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue