Skip to content

Commit

Permalink
Fixed build error with wand of regrowth.
Browse files Browse the repository at this point in the history
  • Loading branch information
Smujb committed Apr 25, 2021
1 parent 9c75828 commit dd568cb
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,13 +354,15 @@ public static class Lotus extends NPC {
spriteClass = LotusSprite.class;

viewDistance = 1;
healthFactor = 4f;
}

private int wandLvl = 0;

private void setLevel( int lvl ){
@Override
public void setLevel( int lvl ){
wandLvl = lvl;
HP = HT = lvl*4;
setLevel(lvl);
}

public boolean inRange(int pos){
Expand Down

0 comments on commit dd568cb

Please sign in to comment.