mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Goreclaw, Terror of Qal Sisma
This commit is contained in:
parent
b7169d7097
commit
d566f0f64c
2 changed files with 76 additions and 0 deletions
75
Mage.Sets/src/mage/cards/g/GoreclawTerrorOfQalSisma.java
Normal file
75
Mage.Sets/src/mage/cards/g/GoreclawTerrorOfQalSisma.java
Normal file
|
@ -0,0 +1,75 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.BoostControlledEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.PowerPredicate;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class GoreclawTerrorOfQalSisma extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCreatureCard();
|
||||
private static final FilterCreaturePermanent filter2 = new FilterCreaturePermanent();
|
||||
|
||||
static {
|
||||
filter.add(new PowerPredicate(ComparisonType.MORE_THAN, 3));
|
||||
filter2.add(new PowerPredicate(ComparisonType.MORE_THAN, 3));
|
||||
}
|
||||
|
||||
public GoreclawTerrorOfQalSisma(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
|
||||
|
||||
this.addSuperType(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.BEAR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Creature spells you cast with power 4 or greater cost {2} less to cast.
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
Zone.BATTLEFIELD,
|
||||
new SpellsCostReductionControllerEffect(filter, 2)
|
||||
.setText("Creature spells you cast with power 4 or greater cost {2} less to cast")
|
||||
));
|
||||
|
||||
// Whenever Goreclaw, Terror of Qal Sisma attacks, each creature you control with power 4 or greater gets +1/+1 and gains trample until end of turn.
|
||||
Ability ability = new AttacksTriggeredAbility(
|
||||
new BoostControlledEffect(
|
||||
1, 1, Duration.EndOfTurn, filter2
|
||||
).setText("each creature you control with power 4 or greater gets +1/+1"), false
|
||||
);
|
||||
ability.addEffect(new GainAbilityControlledEffect(
|
||||
TrampleAbility.getInstance(),
|
||||
Duration.EndOfTurn, filter2
|
||||
).setText("and gains trample until end of turn"));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public GoreclawTerrorOfQalSisma(final GoreclawTerrorOfQalSisma card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GoreclawTerrorOfQalSisma copy() {
|
||||
return new GoreclawTerrorOfQalSisma(this);
|
||||
}
|
||||
}
|
|
@ -91,6 +91,7 @@ public final class CoreSet2019 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Gigantosaurus", 185, Rarity.RARE, mage.cards.g.Gigantosaurus.class));
|
||||
cards.add(new SetCardInfo("Goblin Instigator", 142, Rarity.COMMON, mage.cards.g.GoblinInstigator.class));
|
||||
cards.add(new SetCardInfo("Goblin Motivator", 143, Rarity.COMMON, mage.cards.g.GoblinMotivator.class));
|
||||
cards.add(new SetCardInfo("Goreclaw, Terror of Qal Sisma", 186, Rarity.RARE, mage.cards.g.GoreclawTerrorOfQalSisma.class));
|
||||
cards.add(new SetCardInfo("Grasping Scoundrel", 312, Rarity.COMMON, mage.cards.g.GraspingScoundrel.class));
|
||||
cards.add(new SetCardInfo("Gravedigger", 98, Rarity.UNCOMMON, mage.cards.g.Gravedigger.class));
|
||||
cards.add(new SetCardInfo("Gravewaker", 293, Rarity.RARE, mage.cards.g.Gravewaker.class));
|
||||
|
|
Loading…
Reference in a new issue