mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
|
|
package mage.cards.w;
|
|
|
|
import java.util.UUID;
|
|
import mage.MageInt;
|
|
import mage.abilities.common.SimpleActivatedAbility;
|
|
import mage.abilities.costs.common.PayLifeCost;
|
|
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
|
import mage.abilities.keyword.DefenderAbility;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
import mage.constants.SubType;
|
|
import mage.constants.Duration;
|
|
import mage.constants.Zone;
|
|
|
|
/**
|
|
*
|
|
* @author Loki
|
|
*/
|
|
public final class WallOfBlood extends CardImpl {
|
|
|
|
public WallOfBlood(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
|
|
this.subtype.add(SubType.WALL);
|
|
|
|
this.power = new MageInt(0);
|
|
this.toughness = new MageInt(2);
|
|
this.addAbility(DefenderAbility.getInstance());
|
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 1, Duration.EndOfTurn), new PayLifeCost(1)));
|
|
// Pay 1 life: Wall of Blood gets +1/+1 until end of turn.
|
|
}
|
|
|
|
public WallOfBlood(final WallOfBlood card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public WallOfBlood copy() {
|
|
return new WallOfBlood(this);
|
|
}
|
|
}
|