v1.1.0: regrowth cap now correctly uses the wand's true level

This commit is contained in:
Evan Debenham 2021-11-16 14:44:51 -05:00
parent 3f0b693a89
commit 5cab78e234

View File

@ -209,7 +209,7 @@ public class WandOfRegrowth extends Wand {
} else {
//8 charges at base, plus:
//2/3.33/5/7/10/14/20/30/50/110/infinite charges per hero level, based on wand level
float lvl = buffedLvl();
float lvl = level();
return Math.round(8 + heroLvl * (2+lvl) * (1f + (lvl/(10 - lvl))));
}
}