* Hanweir Militia Captain - Fixed that the P/T setting ability of Westvale Cult Leader was applied to recast Hanweir Militia Captain.

This commit is contained in:
LevelX2 2017-01-08 18:36:32 +01:00
parent 77f64e3e16
commit 20c2f3dde8
2 changed files with 97 additions and 2 deletions

View file

@ -51,7 +51,7 @@ public class WestvaleCultLeader extends CardImpl {
final private static FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("creatures you control");
public WestvaleCultLeader(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"");
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "");
this.subtype.add("Human");
this.subtype.add("Cleric");
this.power = new MageInt(0);
@ -62,7 +62,7 @@ public class WestvaleCultLeader extends CardImpl {
this.nightCard = true;
// Westvale Cult Leader's power and toughness are each equal to the number of creatures you control.
this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.EndOfGame)));
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SetPowerToughnessSourceEffect(new PermanentsOnBattlefieldCount(filter), Duration.WhileOnBattlefield)));
// At the beginning of your end step, create a 1/1 white and black Human Cleric creature token.
this.addAbility(new BeginningOfEndStepTriggeredAbility(new CreateTokenEffect(new HumanClericToken()), TargetController.YOU, false));