Some minor fixes.

This commit is contained in:
LevelX2 2017-02-05 13:53:36 +01:00
parent d71ebdcea9
commit b86acbe0da
2 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ import mage.target.common.TargetCreaturePermanent;
public class HarnessedLightning extends CardImpl {
public HarnessedLightning(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{1}{R}");
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
// Choose target creature. You get {E}{E}{E}, then you may pay any amount of {E}. Harnessed Lightning deals that much damage to that creature.
this.getSpellAbility().addEffect(new HarnessedLightningEffect());
@ -71,7 +71,7 @@ class HarnessedLightningEffect extends OneShotEffect {
public HarnessedLightningEffect() {
super(Outcome.UnboostCreature);
this.staticText = "Choose target creature. You get {E}{E}{E}, then you may pay any amount of {E}. Harnessed Lightning deals that much damage to that creature";
this.staticText = "Choose target creature. You get {E}{E}{E}, then you may pay any amount of {E}. {this} deals that much damage to that creature";
}
public HarnessedLightningEffect(final HarnessedLightningEffect effect) {

View file

@ -43,7 +43,7 @@ public class SacrificeSourceUnlessPaysEffect extends OneShotEffect {
&& controller.chooseUse(Outcome.Benefit, message, source, game)) {
cost.clearPaid();
if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false, null)) {
game.informPlayers(controller.getLogName() + " pays " + cost.toString());
game.informPlayers(controller.getLogName() + " pays " + cost.getText());
return true;
}
}