mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
* Krosan Warchief - Fixed that the regnerate ability could target any creature type.
This commit is contained in:
parent
c4d82655b5
commit
feb633e4ac
1 changed files with 4 additions and 1 deletions
|
@ -41,6 +41,7 @@ import mage.cards.CardImpl;
|
|||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.target.Target;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
|
@ -72,7 +73,9 @@ public class KrosanWarchief extends CardImpl<KrosanWarchief> {
|
|||
SimpleActivatedAbility ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
|
||||
new RegenerateTargetEffect(),
|
||||
new ManaCostsImpl("{1}{G}"));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
Target target = new TargetCreaturePermanent(filterTarget);
|
||||
target.setRequired(true);
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue