@Override public AddPoisonCounterTargetEffect copy() { return new AddPoisonCounterTargetEffect(this); }
public SerpentGeneratorSnakeToken() { super("Snake", "1/1 colorless Snake artifact creature token with \"Whenever this creature deals damage to a player, that player gets a poison counter.\""); cardType.add(CardType.ARTIFACT); cardType.add(CardType.CREATURE); subtype.add(SubType.SNAKE); power = new MageInt(1); toughness = new MageInt(1); Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("that player gets a poison counter"); this.addAbility(new DealsDamageToAPlayerTriggeredAbility(effect, false, true)); }
public PitScorpion(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}"); this.subtype.add(SubType.SCORPION); this.power = new MageInt(1); this.toughness = new MageInt(1); // Whenever Pit Scorpion deals damage to a player, that player gets a poison counter. Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("that player gets a poison counter"); this.addAbility(new DealsDamageToAPlayerTriggeredAbility(effect, false, true)); }
public CryptCobra(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}"); this.subtype.add(SubType.SNAKE); this.power = new MageInt(3); this.toughness = new MageInt(3); // Whenever Crypt Cobra attacks and isn't blocked, defending player gets a poison counter. Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("defending player gets a poison counter"); this.addAbility(new AttacksAndIsNotBlockedTriggeredAbility(effect, false, true)); }
public MarshViper(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}"); this.subtype.add(SubType.SNAKE); this.power = new MageInt(1); this.toughness = new MageInt(2); // Whenever Marsh Viper deals damage to a player, that player gets two poison counters. Effect effect = new AddPoisonCounterTargetEffect(2); effect.setText("that player gets two poison counters"); this.addAbility(new DealsDamageToAPlayerTriggeredAbility(effect, false, true)); }
public SabertoothCobra(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}"); this.subtype.add(SubType.SNAKE); this.power = new MageInt(2); this.toughness = new MageInt(2); // Whenever Sabertooth Cobra deals damage to a player, he or she gets a poison counter. That player gets another poison counter at the beginning of their next upkeep unless he or she pays {2} before that turn. Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("that player gets a poison counter"); Ability ability = new DealsDamageToAPlayerTriggeredAbility(effect, false, true); effect = new AddPoisonCounterTargetEffect(1); effect.setText("That player gets another poison counter."); ability.addEffect(new UnlessPaysDelayedEffect(new ManaCostsImpl("{2}"), effect, PhaseStep.UPKEEP, true, "That player gets another poison counter at the beginning of their next upkeep unless he or she pays {2} before that turn.")); this.addAbility(ability); }
public HandOfThePraetors (UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}"); this.subtype.add(SubType.ZOMBIE); this.power = new MageInt(3); this.toughness = new MageInt(2); this.addAbility(InfectAbility.getInstance()); this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 1, Duration.WhileOnBattlefield, filter, true))); SpellCastControllerTriggeredAbility ability = new SpellCastControllerTriggeredAbility(new AddPoisonCounterTargetEffect(1), filterSpell, false); ability.addTarget(new TargetPlayer()); this.addAbility(ability); }
public SwampMosquito(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}"); this.subtype.add(SubType.INSECT); this.power = new MageInt(0); this.toughness = new MageInt(1); // Flying this.addAbility(FlyingAbility.getInstance()); // Whenever Swamp Mosquito attacks and isn't blocked, defending player gets a poison counter. Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("defending player gets a poison counter"); this.addAbility(new AttacksAndIsNotBlockedTriggeredAbility(effect, false, true)); }
public SuqAtaAssassin(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{B}{B}"); this.subtype.add(SubType.HUMAN); this.subtype.add(SubType.ASSASSIN); this.power = new MageInt(1); this.toughness = new MageInt(1); // Fear this.addAbility(FearAbility.getInstance()); // Whenever Suq'Ata Assassin attacks and isn't blocked, defending player gets a poison counter. Effect effect = new AddPoisonCounterTargetEffect(1); effect.setText("defending player gets a poison counter"); this.addAbility(new AttacksAndIsNotBlockedTriggeredAbility(effect, false, true)); }
public CaressOfPhyrexia(UUID ownerId, CardSetInfo setInfo) { super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{3}{B}{B}"); this.getSpellAbility().addEffect(new DrawCardTargetEffect(3)); this.getSpellAbility().addEffect(new LoseLifeTargetEffect(3)); this.getSpellAbility().addEffect(new AddPoisonCounterTargetEffect(3)); this.getSpellAbility().addTarget(new TargetPlayer()); }