mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[J25] Implement Wriggling Grub
This commit is contained in:
parent
f6c9df73d8
commit
abf600bab7
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/w/WrigglingGrub.java
Normal file
38
Mage.Sets/src/mage/cards/w/WrigglingGrub.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.game.permanent.token.BlackGreenWormToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WrigglingGrub extends CardImpl {
|
||||
|
||||
public WrigglingGrub(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}");
|
||||
|
||||
this.subtype.add(SubType.WORM);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// When Wriggling Grub dies, create two 1/1 black and green Worm creature tokens.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new CreateTokenEffect(new BlackGreenWormToken(), 2)));
|
||||
}
|
||||
|
||||
private WrigglingGrub(final WrigglingGrub card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WrigglingGrub copy() {
|
||||
return new WrigglingGrub(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -748,6 +748,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Woodland Champion", 741, Rarity.UNCOMMON, mage.cards.w.WoodlandChampion.class));
|
||||
cards.add(new SetCardInfo("Woodland Liege", 27, Rarity.COMMON, mage.cards.w.WoodlandLiege.class));
|
||||
cards.add(new SetCardInfo("Wrecking Crew", 617, Rarity.COMMON, mage.cards.w.WreckingCrew.class));
|
||||
cards.add(new SetCardInfo("Wriggling Grub", 12, Rarity.UNCOMMON, mage.cards.w.WrigglingGrub.class));
|
||||
cards.add(new SetCardInfo("Yarok's Wavecrasher", 395, Rarity.UNCOMMON, mage.cards.y.YaroksWavecrasher.class));
|
||||
cards.add(new SetCardInfo("Young Pyromancer", 618, Rarity.UNCOMMON, mage.cards.y.YoungPyromancer.class));
|
||||
cards.add(new SetCardInfo("Youthful Valkyrie", 280, Rarity.UNCOMMON, mage.cards.y.YouthfulValkyrie.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue