mirror of
https://github.com/correl/mage.git
synced 2025-02-18 12:54:22 +00:00
[BRO] Implemented Urza, Prince of Kroog
This commit is contained in:
parent
59afefd527
commit
bd5f6e64ed
2 changed files with 60 additions and 0 deletions
Mage.Sets/src/mage
59
Mage.Sets/src/mage/cards/u/UrzaPrinceOfKroog.java
Normal file
59
Mage.Sets/src/mage/cards/u/UrzaPrinceOfKroog.java
Normal file
|
@ -0,0 +1,59 @@
|
|||
package mage.cards.u;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.mana.GenericManaCost;
|
||||
import mage.abilities.effects.common.CreateTokenCopyTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class UrzaPrinceOfKroog extends CardImpl {
|
||||
|
||||
public UrzaPrinceOfKroog(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{W}{U}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ARTIFICER);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Artifact creatures you control get +2/+2.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostControlledEffect(
|
||||
2, 2, Duration.WhileOnBattlefield,
|
||||
StaticFilters.FILTER_PERMANENTS_ARTIFACT_CREATURE
|
||||
)));
|
||||
|
||||
// {6}: Create a token that's a copy of target artifact you control, except it's a 1/1 Soldier creature in addition to its other types.
|
||||
Ability ability = new SimpleActivatedAbility(new CreateTokenCopyTargetEffect(
|
||||
null, CardType.CREATURE, false, 1, false,
|
||||
false, null, 1, 1, false
|
||||
).setAdditionalSubType(SubType.SOLDIER).setText("create a token that's a copy of target artifact you control, " +
|
||||
"except it's a 1/1 Soldier creature in addition to its other types"), new GenericManaCost(6));
|
||||
ability.addTarget(new TargetPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private UrzaPrinceOfKroog(final UrzaPrinceOfKroog card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UrzaPrinceOfKroog copy() {
|
||||
return new UrzaPrinceOfKroog(this);
|
||||
}
|
||||
}
|
|
@ -44,6 +44,7 @@ public final class TheBrothersWar extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Urza, Lord Protector", 225, Rarity.MYTHIC, mage.cards.u.UrzaLordProtector.class));
|
||||
cards.add(new SetCardInfo("Urza, Planeswalker", "238b", Rarity.MYTHIC, mage.cards.u.UrzaPlaneswalker.class));
|
||||
cards.add(new SetCardInfo("Urza, Powerstone Prodigy", 69, Rarity.UNCOMMON, mage.cards.u.UrzaPowerstoneProdigy.class));
|
||||
cards.add(new SetCardInfo("Urza, Prince of Kroog", 226, Rarity.RARE, mage.cards.u.UrzaPrinceOfKroog.class));
|
||||
}
|
||||
|
||||
// @Override
|
||||
|
|
Loading…
Reference in a new issue