Fixed a bug that the toughness boost amount in the tooltip rule text was always shown negative if power amount was negative.

This commit is contained in:
LevelX2 2013-04-20 19:58:19 +02:00
parent 9c90d66d6d
commit 18b28c8ce6

View file

@ -113,7 +113,7 @@ public class BoostSourceEffect extends ContinuousEffectImpl<BoostSourceEffect> i
sb.append(p).append("/");
String t = toughness.toString();
if(!t.startsWith("-")){
if(p.startsWith("-"))
if(t.startsWith("-"))
sb.append("-");
else
sb.append("+");