forked from External/mage
Fix 'B' cards with card name instead of {this}
This commit is contained in:
parent
60fa9f1a65
commit
4a59c16b2a
6 changed files with 20 additions and 17 deletions
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
package mage.cards.b;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.cards.CardImpl;
|
||||
|
|
@ -14,6 +12,9 @@ import mage.filter.common.FilterCreaturePermanent;
|
|||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author L_J
|
||||
|
|
@ -40,8 +41,8 @@ public final class BakisCurse extends CardImpl {
|
|||
class BakisCurseEffect extends OneShotEffect {
|
||||
|
||||
public BakisCurseEffect() {
|
||||
super(Outcome.Detriment);
|
||||
staticText = "Baki's Curse deals 2 damage to each creature for each Aura attached to that creature.";
|
||||
super(Outcome.Detriment);
|
||||
staticText = "{this} deals 2 damage to each creature for each Aura attached to that creature.";
|
||||
}
|
||||
|
||||
private BakisCurseEffect(final BakisCurseEffect effect) {
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
|
||||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.costs.common.TapSourceCost;
|
||||
import mage.abilities.dynamicvalue.common.HalfValue;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.dynamicvalue.common.GetXValue;
|
||||
import mage.abilities.dynamicvalue.common.HalfValue;
|
||||
import mage.abilities.effects.common.DamageControllerEffect;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author L_J
|
||||
|
|
@ -31,7 +31,7 @@ public final class Banshee extends CardImpl {
|
|||
this.toughness = new MageInt(1);
|
||||
|
||||
// {X}, {T}: Banshee deals half X damage, rounded down, to any target, and half X damage, rounded up, to you.
|
||||
Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(new HalfValue(GetXValue.instance, false)).setText("Banshee deals half X damage, rounded down, to any target,"), new ManaCostsImpl<>("{X}"));
|
||||
Ability ability = new SimpleActivatedAbility(new DamageTargetEffect(new HalfValue(GetXValue.instance, false)).setText("{this} deals half X damage, rounded down, to any target,"), new ManaCostsImpl<>("{X}"));
|
||||
ability.addCost(new TapSourceCost());
|
||||
ability.addEffect(new DamageControllerEffect(new HalfValue(GetXValue.instance, true)).setText(" and half X damage, rounded up, to you"));
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
|
||||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Mana;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.triggers.BeginningOfFirstMainTriggeredAbility;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
import mage.abilities.triggers.BeginningOfFirstMainTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
|
@ -17,6 +16,8 @@ import mage.game.Game;
|
|||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author markedagain
|
||||
|
|
@ -47,7 +48,7 @@ class BlackMarketEffect extends OneShotEffect {
|
|||
|
||||
BlackMarketEffect() {
|
||||
super(Outcome.PutManaInPool);
|
||||
this.staticText = "add {B} for each charge counter on Black Market";
|
||||
this.staticText = "add {B} for each charge counter on {this}";
|
||||
}
|
||||
|
||||
private BlackMarketEffect(final BlackMarketEffect effect) {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ public final class BladegraftAspirant extends CardImpl {
|
|||
|
||||
class BladegraftAspirantCostReductionEffect extends CostModificationEffectImpl {
|
||||
|
||||
private static final String effectText = "Activated abilities of Equipment you control that target Bladegraft Aspirant cost {1} less to activate.";
|
||||
private static final String effectText = "Activated abilities of Equipment you control that target {this} cost {1} less to activate.";
|
||||
|
||||
BladegraftAspirantCostReductionEffect() {
|
||||
super(Duration.Custom, Outcome.Benefit, CostModificationType.REDUCE_COST);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.abilities.decorator.ConditionalOneShotEffect;
|
||||
|
|
@ -14,6 +13,8 @@ import mage.game.Game;
|
|||
import mage.game.permanent.Permanent;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
|
|
@ -29,7 +30,7 @@ public final class BringLow extends CardImpl {
|
|||
new DamageTargetEffect(5),
|
||||
new DamageTargetEffect(3),
|
||||
new TargetHasCounterCondition(CounterType.P1P1),
|
||||
"{this} deals 3 damage to target creature. If that creature has a +1/+1 counter on it, Bring Low deals 5 damage to it instead"));
|
||||
"{this} deals 3 damage to target creature. If that creature has a +1/+1 counter on it, {this} deals 5 damage to it instead"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
|
@ -43,7 +43,7 @@ class BulwarkDamageEffect extends OneShotEffect {
|
|||
|
||||
BulwarkDamageEffect() {
|
||||
super(Outcome.Damage);
|
||||
staticText = "Bulwark deals X damage to target opponent, where X is the number of cards in your hand minus the number of cards in that player's hand";
|
||||
staticText = "{this} deals X damage to target opponent, where X is the number of cards in your hand minus the number of cards in that player's hand";
|
||||
}
|
||||
|
||||
private BulwarkDamageEffect(final BulwarkDamageEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue