forked from External/mage
* Boost effects - fixed wrong text for zero values (-0/-1, -1/-0, etc);
This commit is contained in:
parent
d366da6f6b
commit
ccd95cdd71
5 changed files with 54 additions and 21 deletions
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
|
||||
package mage.counters;
|
||||
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class BoostCounter extends Counter {
|
||||
|
|
@ -16,7 +15,7 @@ public class BoostCounter extends Counter {
|
|||
}
|
||||
|
||||
public BoostCounter(int power, int toughness, int count) {
|
||||
super(String.format("%1$+d/%2$+d", power, toughness), count);
|
||||
super(CardUtil.getBoostCountAsStr(power, toughness), count);
|
||||
this.power = power;
|
||||
this.toughness = toughness;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue