mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
Improved CreatureEntersBattlefieldTriggeredAbility: if a target is required for the effect then that target must be added in the constructor.
This commit is contained in:
parent
3e3957e323
commit
0e7ef05c5d
2 changed files with 25 additions and 6 deletions
|
|
@ -34,6 +34,7 @@ import mage.MageInt;
|
|||
import mage.abilities.common.CreatureEntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.LoseLifeTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -51,7 +52,7 @@ public class BloodSeeker extends CardImpl<BloodSeeker> {
|
|||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
this.addAbility(new CreatureEntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(1), true, true));
|
||||
this.addAbility(new CreatureEntersBattlefieldTriggeredAbility(new LoseLifeTargetEffect(1), true, true, new TargetPlayer()));
|
||||
}
|
||||
|
||||
public BloodSeeker(final BloodSeeker card) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue