v0.4.0: fixed a bug where sandals of nature were gaining charge at level 0.

This commit is contained in:
Evan Debenham 2016-06-05 17:28:31 -04:00
parent f3b891b5b4
commit 3974d3a255

View File

@ -154,7 +154,7 @@ public class SandalsOfNature extends Artifact {
public class Naturalism extends ArtifactBuff{
public void charge() {
if (charge < target.HT){
if (level() > 0 && charge < target.HT){
//gain 1+(1*level)% of the difference between current charge and max HP.
charge+= (Math.round( (target.HT-charge) * (.01+ level()*0.01) ));
updateQuickslot();