* Galvanic Blast - Fixed that it wrongly did 2 + 2 damage instead of 4 if Metalcraft condition was true.

This commit is contained in:
LevelX2 2014-12-28 00:49:47 +01:00
parent d4ad6cf6a6
commit 923a3e088f
2 changed files with 9 additions and 4 deletions

View file

@ -42,17 +42,18 @@ import mage.target.common.TargetCreatureOrPlayer;
*/
public class GalvanicBlast extends CardImpl {
private final String effectText = "Metalcraft - Galvanic Blast deals 4 damage to that creature or player instead if you control three or more artifacts";
private final String effectText = "{this} deals 2 damage to target creature or player.<br>Metalcraft - {this}t deals 4 damage to that creature or player instead if you control three or more artifacts";
public GalvanicBlast(UUID ownerId) {
super(ownerId, 91, "Galvanic Blast", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{R}");
this.expansionSetCode = "SOM";
this.color.setRed(true);
this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
this.getSpellAbility().addEffect(new DamageTargetEffect(2));
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(2), MetalcraftCondition.getInstance(), effectText));
// Galvanic Blast deals 2 damage to target creature or player.
// Metalcraft - Galvanic Blast deals 4 damage to that creature or player instead if you control three or more artifacts.
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new DamageTargetEffect(4), new DamageTargetEffect(2), MetalcraftCondition.getInstance(), effectText));
this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
}
public GalvanicBlast(final GalvanicBlast card) {