mirror of
https://github.com/correl/mage.git
synced 2025-04-14 09:09:38 -09:00
* Carrion Call - Fixed that the created tokens had no infect.
This commit is contained in:
parent
77a6c4573a
commit
d6037c6f6c
1 changed files with 21 additions and 2 deletions
|
@ -29,11 +29,13 @@
|
|||
package mage.sets.scarsofmirrodin;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.InfectAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.game.permanent.token.InsectToken;
|
||||
import mage.game.permanent.token.Token;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -45,7 +47,8 @@ public class CarrionCall extends CardImpl {
|
|||
super(ownerId, 115, "Carrion Call", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{3}{G}");
|
||||
this.expansionSetCode = "SOM";
|
||||
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new InsectToken("SOM"), 2));
|
||||
// Put two 1/1 green Insect creature tokens with infect onto the battlefield. (They deal damage to creatures in the form of -1/-1 counters and to players in the form of poison counters.)
|
||||
this.getSpellAbility().addEffect(new CreateTokenEffect(new CarrionCallInsectToken(), 2));
|
||||
}
|
||||
|
||||
public CarrionCall (final CarrionCall card) {
|
||||
|
@ -57,3 +60,19 @@ public class CarrionCall extends CardImpl {
|
|||
return new CarrionCall(this);
|
||||
}
|
||||
}
|
||||
|
||||
class CarrionCallInsectToken extends Token {
|
||||
|
||||
public CarrionCallInsectToken() {
|
||||
super("Insect", "1/1 green Insect creature tokens with infect");
|
||||
setOriginalExpansionSetCode("SOM");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setGreen(true);
|
||||
subtype.add("Insect");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
addAbility(InfectAbility.getInstance());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue