V0.2.0: updated Cape of Thorns ToString()

This commit is contained in:
Evan Debenham 2014-09-03 17:13:54 -04:00
parent 912b55fafa
commit bdc0c29882

View File

@ -50,6 +50,14 @@ public class CapeOfThorns extends Artifact {
return "";
}
@Override
public String toString(){
if (level > 0)
return Utils.format("%s%+d %d%", name, level, charge);
else
return Utils.format("%s %d%", name, charge);
}
public class Thorns extends ArtifactBuff{
@Override