this is a big one - fixed modal targetting and refactored getText()

This commit is contained in:
BetaSteward 2011-07-21 22:04:08 -04:00
parent 1b6e78c489
commit 84b9cbb16b
373 changed files with 912 additions and 1814 deletions

View file

@ -57,6 +57,7 @@ public class BoostSourceWhileControlsEffect extends WhileConditionContiniousEffe
this.power = power;
this.toughness = toughness;
this.filterDescription = filter.getName();
staticText = "{this} gets " + String.format("%1$+d/%2$+d", power, toughness) + " as long as you control a " + filterDescription;
}
public BoostSourceWhileControlsEffect(final BoostSourceWhileControlsEffect effect) {
@ -82,8 +83,4 @@ public class BoostSourceWhileControlsEffect extends WhileConditionContiniousEffe
return true;
}
@Override
public String getText(Ability source) {
return "{this} gets " + String.format("%1$+d/%2$+d", power, toughness) + " as long as you control a " + filterDescription;
}
}