mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Some minor fixes.
This commit is contained in:
parent
d71ebdcea9
commit
b86acbe0da
2 changed files with 4 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
public class HarnessedLightning extends CardImpl {
|
public class HarnessedLightning extends CardImpl {
|
||||||
|
|
||||||
public HarnessedLightning(UUID ownerId, CardSetInfo setInfo) {
|
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().addEffect(new HarnessedLightningEffect());
|
||||||
|
|
@ -71,7 +71,7 @@ class HarnessedLightningEffect extends OneShotEffect {
|
||||||
|
|
||||||
public HarnessedLightningEffect() {
|
public HarnessedLightningEffect() {
|
||||||
super(Outcome.UnboostCreature);
|
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) {
|
public HarnessedLightningEffect(final HarnessedLightningEffect effect) {
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class SacrificeSourceUnlessPaysEffect extends OneShotEffect {
|
||||||
&& controller.chooseUse(Outcome.Benefit, message, source, game)) {
|
&& controller.chooseUse(Outcome.Benefit, message, source, game)) {
|
||||||
cost.clearPaid();
|
cost.clearPaid();
|
||||||
if (cost.pay(source, game, source.getSourceId(), source.getControllerId(), false, null)) {
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue