Fixed missing target of Scab-Clan Charger.

This commit is contained in:
LevelX2 2013-02-08 00:08:39 +01:00
parent 67553c8af6
commit cb1c3ff535

View file

@ -28,13 +28,15 @@
package mage.sets.gatecrash; package mage.sets.gatecrash;
import java.util.UUID; import java.util.UUID;
import mage.Constants;
import mage.Constants.CardType; import mage.Constants.CardType;
import mage.Constants.Duration;
import mage.Constants.Rarity; import mage.Constants.Rarity;
import mage.MageInt; import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.effects.common.continious.BoostTargetEffect; import mage.abilities.effects.common.continious.BoostTargetEffect;
import mage.abilities.keyword.BloodrushAbility; import mage.abilities.keyword.BloodrushAbility;
import mage.cards.CardImpl; import mage.cards.CardImpl;
import mage.target.common.TargetAttackingCreature;
/** /**
* *
@ -53,7 +55,9 @@ public class ScabClanCharger extends CardImpl<ScabClanCharger> {
this.toughness = new MageInt(4); this.toughness = new MageInt(4);
// Bloodrush - {1}{G}, Discard Scab-Clan Charger: Target attacking creature gets +2/+4 until end of turn. // Bloodrush - {1}{G}, Discard Scab-Clan Charger: Target attacking creature gets +2/+4 until end of turn.
this.addAbility(new BloodrushAbility("{1}{G}", new BoostTargetEffect(2, 4, Constants.Duration.EndOfTurn))); Ability ability = new BloodrushAbility("{1}{G}", new BoostTargetEffect(2, 4, Duration.EndOfTurn));
ability.addTarget(new TargetAttackingCreature());
this.addAbility(ability);
} }
public ScabClanCharger(final ScabClanCharger card) { public ScabClanCharger(final ScabClanCharger card) {