mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00:00
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:
parent
9c90d66d6d
commit
18b28c8ce6
1 changed files with 1 additions and 1 deletions
|
@ -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("+");
|
||||
|
|
Loading…
Reference in a new issue