mirror of
https://github.com/correl/mage.git
synced 2025-03-29 17:00:07 -09:00
Implemented Goblin Oriflamme
This commit is contained in:
parent
6e170c5610
commit
5dfac25240
2 changed files with 37 additions and 0 deletions
Mage.Sets/src/mage
36
Mage.Sets/src/mage/cards/g/GoblinOriflamme.java
Normal file
36
Mage.Sets/src/mage/cards/g/GoblinOriflamme.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
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.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GoblinOriflamme extends CardImpl {
|
||||
|
||||
public GoblinOriflamme(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}");
|
||||
|
||||
// Attacking creatures you control get +1/+0.
|
||||
this.addAbility(new SimpleStaticAbility(new BoostControlledEffect(
|
||||
1, 0, Duration.EndOfTurn,
|
||||
StaticFilters.FILTER_ATTACKING_CREATURES
|
||||
)));
|
||||
}
|
||||
|
||||
private GoblinOriflamme(final GoblinOriflamme card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoblinOriflamme copy() {
|
||||
return new GoblinOriflamme(this);
|
||||
}
|
||||
}
|
|
@ -73,6 +73,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Goblin Champion", 127, Rarity.COMMON, mage.cards.g.GoblinChampion.class));
|
||||
cards.add(new SetCardInfo("Goblin Engineer", 128, Rarity.RARE, mage.cards.g.GoblinEngineer.class));
|
||||
cards.add(new SetCardInfo("Goblin Matron", 129, Rarity.UNCOMMON, mage.cards.g.GoblinMatron.class));
|
||||
cards.add(new SetCardInfo("Goblin Oriflamme", 130, Rarity.UNCOMMON, mage.cards.g.GoblinOriflamme.class));
|
||||
cards.add(new SetCardInfo("Goblin War Party", 131, Rarity.COMMON, mage.cards.g.GoblinWarParty.class));
|
||||
cards.add(new SetCardInfo("Good-Fortune Unicorn", 201, Rarity.UNCOMMON, mage.cards.g.GoodFortuneUnicorn.class));
|
||||
cards.add(new SetCardInfo("Headless Specter", 95, Rarity.COMMON, mage.cards.h.HeadlessSpecter.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue