mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08: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 {
|
public class WirewoodPride extends CardImpl {
|
||||||
|
|
||||||
private static final FilterCreaturePermanent ElfCount = new FilterCreaturePermanent("Elves");
|
private static final FilterCreaturePermanent elfCount = new FilterCreaturePermanent("Elves");
|
||||||
static {
|
static {
|
||||||
ElfCount.add(new SubtypePredicate("Elf"));
|
elfCount.add(new SubtypePredicate("Elf"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public WirewoodPride(UUID ownerId) {
|
public WirewoodPride(UUID ownerId) {
|
||||||
|
|
@ -55,9 +55,9 @@ public class WirewoodPride extends CardImpl {
|
||||||
this.expansionSetCode = "ONS";
|
this.expansionSetCode = "ONS";
|
||||||
|
|
||||||
// Target creature gets +X/+X until end of turn, where X is the number of Elves on the battlefield.
|
// 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 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().addEffect(effect);
|
||||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue