v0.4.0: fixed a bug where sandals of nature were gaining charge at level 0.
This commit is contained in:
parent
f3b891b5b4
commit
3974d3a255
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user