This commit is contained in:
danielyxie 2018-07-27 22:03:57 -05:00
commit b18b6cf380

@ -358,7 +358,7 @@ function Skill(params={name:"foo", desc:"foo"}) {
} }
Skill.prototype.calculateCost = function(currentLevel) { Skill.prototype.calculateCost = function(currentLevel) {
return (this.baseCost + (currentLevel * this.costInc)) * BitNodeMultipliers.BladeburnerSkillCost; return Math.floor((this.baseCost + (currentLevel * this.costInc)) * BitNodeMultipliers.BladeburnerSkillCost);
} }
var Skills = {}; var Skills = {};
var SkillNames = { var SkillNames = {