mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Implemented Wojek Bodyguard
This commit is contained in:
parent
c48f9d6b51
commit
c04a0f9228
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/w/WojekBodyguard.java
Normal file
43
Mage.Sets/src/mage/cards/w/WojekBodyguard.java
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
package mage.cards.w;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.keyword.CantAttackAloneAbility;
|
||||||
|
import mage.abilities.keyword.CantBlockAloneAbility;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.abilities.keyword.MentorAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class WojekBodyguard extends CardImpl {
|
||||||
|
|
||||||
|
public WojekBodyguard(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.HUMAN);
|
||||||
|
this.subtype.add(SubType.SOLDIER);
|
||||||
|
this.power = new MageInt(3);
|
||||||
|
this.toughness = new MageInt(3);
|
||||||
|
|
||||||
|
// Mentor
|
||||||
|
this.addAbility(new MentorAbility());
|
||||||
|
|
||||||
|
// Wojek Bodyguard can't attack or block alone.
|
||||||
|
this.addAbility(new CantAttackAloneAbility());
|
||||||
|
this.addAbility(CantBlockAloneAbility.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
public WojekBodyguard(final WojekBodyguard card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public WojekBodyguard copy() {
|
||||||
|
return new WojekBodyguard(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -150,5 +150,6 @@ public final class GuildsOfRavnica extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Watery Grave", 259, Rarity.RARE, mage.cards.w.WateryGrave.class));
|
cards.add(new SetCardInfo("Watery Grave", 259, Rarity.RARE, mage.cards.w.WateryGrave.class));
|
||||||
cards.add(new SetCardInfo("Whisper Agent", 220, Rarity.COMMON, mage.cards.w.WhisperAgent.class));
|
cards.add(new SetCardInfo("Whisper Agent", 220, Rarity.COMMON, mage.cards.w.WhisperAgent.class));
|
||||||
cards.add(new SetCardInfo("Whispering Snitch", 90, Rarity.UNCOMMON, mage.cards.w.WhisperingSnitch.class));
|
cards.add(new SetCardInfo("Whispering Snitch", 90, Rarity.UNCOMMON, mage.cards.w.WhisperingSnitch.class));
|
||||||
|
cards.add(new SetCardInfo("Wojek Bodyguard", 120, Rarity.COMMON, mage.cards.w.WojekBodyguard.class));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue