mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Some minor fixes.
This commit is contained in:
parent
d71ebdcea9
commit
b86acbe0da
2 changed files with 4 additions and 4 deletions
|
|
@ -50,9 +50,9 @@ 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.
|
||||
// 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());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue