mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Whisper Agent
This commit is contained in:
parent
b3558b5394
commit
a1d06dfe39
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/w/WhisperAgent.java
Normal file
42
Mage.Sets/src/mage/cards/w/WhisperAgent.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.w;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.keyword.SurveilEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class WhisperAgent extends CardImpl {
|
||||
|
||||
public WhisperAgent(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U/B}{U/B}");
|
||||
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
|
||||
// When Whisper Agent enters the battlefield, surveil 1.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new SurveilEffect(1), false));
|
||||
}
|
||||
|
||||
public WhisperAgent(final WhisperAgent card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public WhisperAgent copy() {
|
||||
return new WhisperAgent(this);
|
||||
}
|
||||
}
|
|
@ -70,5 +70,6 @@ public final class GuildsOfRavnica extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Vraska, Regal Gorgon", 269, Rarity.MYTHIC, mage.cards.v.VraskaRegalGorgon.class));
|
||||
cards.add(new SetCardInfo("Wary Okapi", 149, Rarity.COMMON, mage.cards.w.WaryOkapi.class));
|
||||
cards.add(new SetCardInfo("Watery Grave", 259, Rarity.RARE, mage.cards.w.WateryGrave.class));
|
||||
cards.add(new SetCardInfo("Whisper Agent", 220, Rarity.COMMON, mage.cards.w.WhisperAgent.class));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue