mirror of
https://github.com/correl/mage.git
synced 2024-11-25 11:09:53 +00:00
Fix an error in BoostTargetEffect text generation, -1/+1 was shown as -1/-1.
This commit is contained in:
parent
3886be3c73
commit
d77197c72a
1 changed files with 6 additions and 6 deletions
|
@ -133,7 +133,7 @@ public class BoostTargetEffect extends ContinuousEffectImpl {
|
||||||
sb.append(p).append("/");
|
sb.append(p).append("/");
|
||||||
String t = toughness.toString();
|
String t = toughness.toString();
|
||||||
if(!t.startsWith("-")){
|
if(!t.startsWith("-")){
|
||||||
if(p.startsWith("-")) {
|
if(t.equals("0") && p.startsWith("-")) {
|
||||||
sb.append("-");
|
sb.append("-");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue