forked from External/mage
* Galvanic Blast - Fixed that it wrongly did 2 + 2 damage instead of 4 if Metalcraft condition was true.
This commit is contained in:
parent
d4ad6cf6a6
commit
923a3e088f
2 changed files with 9 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -76,6 +76,10 @@ since 1.3.0-2014-11-29v2
|
|||
git log 68f2b65c345d4f16f33f6f23d849d48b1924bbd1..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
since 1.3.0-2014-11-29v3
|
||||
git log 68fed320f79a43a4af21ed9238b7659df53a008e..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
since 1.3.0-2014-11-29v4 (2014-12-13)
|
||||
git log 96ce77e9d0e21610569071c81e661f91c53a3a17..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
since 1.3.0-2014-11-29v5 (2014-12-27)
|
||||
git log c4ad51c4af2467f3483204e29f23b76c53f8f880..HEAD --diff-filter=A --name-status | sed -ne "s/^A[^u]Mage.Sets\/src\/mage\/sets\///p" | sort > added_cards.txt
|
||||
|
||||
3. Copy added_cards.txt to trunk\Utils folder
|
||||
4. Run script:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue