mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Added card "Vexis" and its abilities and effects
This commit is contained in:
parent
9abb4d3091
commit
b9365cae45
1 changed files with 49 additions and 1 deletions
|
@ -1,4 +1,52 @@
|
||||||
package mage.cards.v;
|
package mage.cards.v;
|
||||||
|
|
||||||
public class Vexis {
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.OneOrMoreCountersAddedTriggeredAbility;
|
||||||
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
|
import mage.abilities.costs.mana.ColoredManaCost;
|
||||||
|
import mage.abilities.costs.mana.ManaCosts;
|
||||||
|
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
|
||||||
|
import mage.abilities.keyword.MonstrosityAbility;
|
||||||
|
import mage.abilities.keyword.TrampleAbility;
|
||||||
|
import mage.abilities.keyword.VigilanceAbility;
|
||||||
|
import mage.cards.Card;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.constants.Zone;
|
||||||
|
import mage.counters.CounterType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Merlingilb
|
||||||
|
*/
|
||||||
|
public class Vexis extends CardImpl {
|
||||||
|
public Vexis(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}");
|
||||||
|
this.addSubType(SubType.WURM);
|
||||||
|
this.power = new MageInt(4);
|
||||||
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
|
//Trample
|
||||||
|
this.addAbility(TrampleAbility.getInstance());
|
||||||
|
|
||||||
|
//{W}: Monstrosity 2
|
||||||
|
this.addAbility(new MonstrosityAbility("{W}", 2));
|
||||||
|
|
||||||
|
//Whenever a +1/+1 counter is put on Vexis, it gains vigilance until end of turn.
|
||||||
|
this.addAbility(new OneOrMoreCountersAddedTriggeredAbility(new GainAbilitySourceEffect(
|
||||||
|
VigilanceAbility.getInstance(), Duration.EndOfTurn), false, CounterType.P1P1));
|
||||||
|
}
|
||||||
|
|
||||||
|
public Vexis(final Vexis card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Vexis copy() {
|
||||||
|
return new Vexis(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue