From 01c5fc9812a12b7f987f76cf22f914ddaa47848f Mon Sep 17 00:00:00 2001 From: magenoxx Date: Tue, 1 Mar 2011 09:02:49 +0300 Subject: [PATCH] [ALA] Fixed Flameblast Dragon --- Mage.Sets/src/mage/sets/shardsofalara/FlameblastDragon.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/sets/shardsofalara/FlameblastDragon.java b/Mage.Sets/src/mage/sets/shardsofalara/FlameblastDragon.java index 6f2d3666cb5..ee7a87a0d54 100644 --- a/Mage.Sets/src/mage/sets/shardsofalara/FlameblastDragon.java +++ b/Mage.Sets/src/mage/sets/shardsofalara/FlameblastDragon.java @@ -93,14 +93,14 @@ class FlameblastDragonEffect extends OneShotEffect { cost.clearPaid(); if (cost.pay(game, source.getId(), source.getControllerId(), false)) { int costX = ((VariableCost) cost.getVariableCosts().get(0)).getAmount(); - Permanent permanent = game.getPermanent(source.getFirstTarget()); + Permanent permanent = game.getPermanent(source.getFirstTarget()); if (permanent != null) { permanent.damage(costX, source.getId(), game, true, false); return true; } Player targetPlayer = game.getPlayer(source.getFirstTarget()); if (targetPlayer != null) { - player.damage(costX, source.getId(), game, true, false); + targetPlayer.damage(costX, source.getId(), game, true, false); return true; } return false;