mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
[BLC] Implement Thickest in the Thicket
This commit is contained in:
parent
c207f6c3ef
commit
f3420035d4
2 changed files with 50 additions and 0 deletions
48
Mage.Sets/src/mage/cards/t/ThickestInTheThicket.java
Normal file
48
Mage.Sets/src/mage/cards/t/ThickestInTheThicket.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.condition.common.ControlsCreatureGreatestPowerCondition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
import mage.abilities.dynamicvalue.common.TargetPermanentPowerCount;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.triggers.BeginningOfEndStepTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author PurpleCrowbar
|
||||
*/
|
||||
public final class ThickestInTheThicket extends CardImpl {
|
||||
|
||||
public ThickestInTheThicket(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{G}{G}");
|
||||
|
||||
// When Thickest in the Thicket enters, put X +1/+1 counters on target creature, where X is that creature's power.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance(), TargetPermanentPowerCount.instance)
|
||||
.setText("put X +1/+1 counters on target creature, where X is that creature's power")
|
||||
);
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// At the beginning of your end step, draw two cards if you control the creature with the greatest power or tied for the greatest power.
|
||||
this.addAbility(new BeginningOfEndStepTriggeredAbility(new ConditionalOneShotEffect(
|
||||
new DrawCardSourceControllerEffect(2), ControlsCreatureGreatestPowerCondition.instance
|
||||
).withConditionTextAtEnd(true)));
|
||||
}
|
||||
|
||||
private ThickestInTheThicket(final ThickestInTheThicket card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ThickestInTheThicket copy() {
|
||||
return new ThickestInTheThicket(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -300,6 +300,8 @@ public final class BloomburrowCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Tetsuko Umezawa, Fugitive", 177, Rarity.UNCOMMON, mage.cards.t.TetsukoUmezawaFugitive.class));
|
||||
cards.add(new SetCardInfo("The Gitrog Monster", 88, Rarity.MYTHIC, mage.cards.t.TheGitrogMonster.class));
|
||||
cards.add(new SetCardInfo("The Odd Acorn Gang", 7, Rarity.MYTHIC, mage.cards.t.TheOddAcornGang.class));
|
||||
cards.add(new SetCardInfo("Thickest in the Thicket", 34, Rarity.RARE, mage.cards.t.ThickestInTheThicket.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Thickest in the Thicket", 67, Rarity.RARE, mage.cards.t.ThickestInTheThicket.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Thopter Engineer", 204, Rarity.UNCOMMON, mage.cards.t.ThopterEngineer.class));
|
||||
cards.add(new SetCardInfo("Thought Vessel", 289, Rarity.COMMON, mage.cards.t.ThoughtVessel.class));
|
||||
cards.add(new SetCardInfo("Thran Dynamo", 290, Rarity.UNCOMMON, mage.cards.t.ThranDynamo.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue