v1.1.0: regrowth cap now correctly uses the wand's true level
This commit is contained in:
parent
3f0b693a89
commit
5cab78e234
|
@ -209,7 +209,7 @@ public class WandOfRegrowth extends Wand {
|
||||||
} else {
|
} else {
|
||||||
//8 charges at base, plus:
|
//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
|
//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))));
|
return Math.round(8 + heroLvl * (2+lvl) * (1f + (lvl/(10 - lvl))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user