Changed ability name, put LoseLifeTargetEffect as the first effect in the hopes that it will show the AI that it shouldn't target itself?

This commit is contained in:
maurer.it 2011-02-23 13:51:07 -05:00
parent f73068f54c
commit 1f41878015

View file

@ -60,7 +60,7 @@ public class KalastriaHighborn extends CardImpl<KalastriaHighborn> {
this.power = new MageInt(2);
this.toughness = new MageInt(2);
this.addAbility(new KalastriaHighbornTriggerAbility());
this.addAbility(new KalastriaHighbornTriggeredAbility());
}
public KalastriaHighborn(final KalastriaHighborn card) {
@ -73,21 +73,21 @@ public class KalastriaHighborn extends CardImpl<KalastriaHighborn> {
}
}
class KalastriaHighbornTriggerAbility extends TriggeredAbilityImpl<KalastriaHighbornTriggerAbility> {
KalastriaHighbornTriggerAbility ( ) {
super(Zone.ALL, new GainLifeEffect(2), false);
class KalastriaHighbornTriggeredAbility extends TriggeredAbilityImpl<KalastriaHighbornTriggeredAbility> {
KalastriaHighbornTriggeredAbility ( ) {
super(Zone.ALL, new LoseLifeTargetEffect(2), false);
this.addCost(new ManaCostsImpl("{B}"));
this.addTarget(new TargetPlayer());
this.getEffects().add(new LoseLifeTargetEffect(2));
this.getEffects().add(new GainLifeEffect(2));
}
KalastriaHighbornTriggerAbility ( KalastriaHighbornTriggerAbility ability ) {
KalastriaHighbornTriggeredAbility ( KalastriaHighbornTriggeredAbility ability ) {
super(ability);
}
@Override
public KalastriaHighbornTriggerAbility copy() {
return new KalastriaHighbornTriggerAbility(this);
public KalastriaHighbornTriggeredAbility copy() {
return new KalastriaHighbornTriggeredAbility(this);
}
@Override