Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions Mage.Sets/src/mage/cards/b/BastPantherGoddess.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
package mage.cards.b;

import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AttacksWithCreaturesTriggeredAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
import mage.abilities.dynamicvalue.common.CreaturesYouControlCount;
import mage.abilities.effects.common.combat.CantAttackBlockUnlessConditionSourceEffect;
import mage.abilities.effects.common.continuous.BoostTargetEffect;
import mage.abilities.keyword.IndestructibleAbility;
import mage.abilities.keyword.ReachAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.ComparisonType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.StaticFilters;
import mage.target.common.TargetAttackingCreature;

import java.util.UUID;

/**
* @author muz
*/
public final class BastPantherGoddess extends CardImpl {

public BastPantherGoddess(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}{W}");

this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.CAT);
this.subtype.add(SubType.GOD);
this.power = new MageInt(4);
this.toughness = new MageInt(4);

// Reach
this.addAbility(ReachAbility.getInstance());

// Trample
this.addAbility(TrampleAbility.getInstance());

// Indestructible
this.addAbility(IndestructibleAbility.getInstance());

// Bast can't attack or block unless you control three or more creatures.
this.addAbility(new SimpleStaticAbility(new CantAttackBlockUnlessConditionSourceEffect(
new PermanentsOnTheBattlefieldCondition(
StaticFilters.FILTER_PERMANENT_CREATURES, ComparisonType.OR_GREATER, 3
)
).setText("{this} can't attack or block unless you control three or more creatures")));

// Whenever you attack, target attacking creature gets +X/+X until end of turn, where X is the number of creatures you control.
Ability ability = new AttacksWithCreaturesTriggeredAbility(new BoostTargetEffect(
CreaturesYouControlCount.PLURAL, CreaturesYouControlCount.PLURAL
).setText("target attacking creature gets +X/+X until end of turn, where X is the number of creatures you control"), 1);
ability.addTarget(new TargetAttackingCreature());
this.addAbility(ability);
}

private BastPantherGoddess(final BastPantherGoddess card) {
super(card);
}

@Override
public BastPantherGoddess copy() {
return new BastPantherGoddess(this);
}
}
2 changes: 2 additions & 0 deletions Mage.Sets/src/mage/sets/MarvelSuperHeroesCommander.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ private MarvelSuperHeroesCommander() {
cards.add(new SetCardInfo("Aunt May", 768, Rarity.UNCOMMON, mage.cards.a.AuntMay.class));
cards.add(new SetCardInfo("Austere Command", 121, Rarity.RARE, mage.cards.a.AustereCommand.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Austere Command", 294, Rarity.RARE, mage.cards.a.AustereCommand.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bast, Panther Goddess", 75, Rarity.RARE, mage.cards.b.BastPantherGoddess.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bast, Panther Goddess", 392, Rarity.RARE, mage.cards.b.BastPantherGoddess.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bastion Protector", 122, Rarity.RARE, mage.cards.b.BastionProtector.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Bastion Protector", 296, Rarity.RARE, mage.cards.b.BastionProtector.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Beast Within", 169, Rarity.UNCOMMON, mage.cards.b.BeastWithin.class));
Expand Down
Loading