mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Update WirewoodPride.java
fixed reference and removed (.) from effect text
This commit is contained in:
parent
71dee220f7
commit
b905cf34fa
1 changed files with 4 additions and 4 deletions
|
@ -45,9 +45,9 @@ import mage.target.common.TargetCreaturePermanent;
|
|||
*/
|
||||
public class WirewoodPride extends CardImpl {
|
||||
|
||||
private static final FilterCreaturePermanent ElfCount = new FilterCreaturePermanent("Elves");
|
||||
private static final FilterCreaturePermanent elfCount = new FilterCreaturePermanent("Elves");
|
||||
static {
|
||||
ElfCount.add(new SubtypePredicate("Elf"));
|
||||
elfCount.add(new SubtypePredicate("Elf"));
|
||||
}
|
||||
|
||||
public WirewoodPride(UUID ownerId) {
|
||||
|
@ -55,9 +55,9 @@ public class WirewoodPride extends CardImpl {
|
|||
this.expansionSetCode = "ONS";
|
||||
|
||||
// Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield.
|
||||
PermanentsOnBattlefieldCount amount = new PermanentsOnBattlefieldCount(ElfCount);
|
||||
PermanentsOnBattlefieldCount amount = new PermanentsOnBattlefieldCount(elfCount);
|
||||
Effect effect = new BoostTargetEffect(amount, amount, Duration.EndOfTurn, true);
|
||||
effect.setText("Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield.");
|
||||
effect.setText("Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue