Fixed bug that tooltip text of token created by Voice of Resourgence said permanent instead of creature.

This commit is contained in:
LevelX2 2013-05-26 01:00:34 +02:00
parent f158c40d1e
commit 58bb785754

View file

@ -131,7 +131,7 @@ class VoiceOfResurgenceToken extends Token {
subtype.add("Elemental");
power = new MageInt(0);
toughness = new MageInt(0);
FilterControlledPermanent filter = new FilterControlledPermanent();
FilterControlledPermanent filter = new FilterControlledPermanent("creatures you control");
filter.add(new CardTypePredicate(CardType.CREATURE));
DynamicValue creaturesControlled = new PermanentsOnBattlefieldCount(filter);
this.addAbility(new SimpleStaticAbility(Constants.Zone.BATTLEFIELD, new SetPowerToughnessSourceEffect(creaturesControlled, Constants.Duration.EndOfGame)));