mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
45 lines
1.2 KiB
Java
45 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.mana.ManaCostsImpl;
|
|
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 KholdFuzion
|
|
|
|
*/
|
|
public final class WallOfWater extends CardImpl {
|
|
|
|
public WallOfWater(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}{U}");
|
|
this.subtype.add(SubType.WALL);
|
|
|
|
this.power = new MageInt(0);
|
|
this.toughness = new MageInt(5);
|
|
|
|
// Defender
|
|
this.addAbility(DefenderAbility.getInstance());
|
|
// {U}: Wall of Water gets +1/+0 until end of turn.
|
|
this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{U}")));
|
|
}
|
|
|
|
public WallOfWater(final WallOfWater card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public WallOfWater copy() {
|
|
return new WallOfWater(this);
|
|
}
|
|
}
|