Fix an error in BoostTargetEffect text generation, -1/+1 was shown as -1/-1.

This commit is contained in:
LoneFox 2015-07-01 09:16:18 +03:00
parent 3886be3c73
commit d77197c72a

View file

@ -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 {