Format fix...

This commit is contained in:
omuretsu 2023-01-02 13:59:31 -05:00
parent 1baa615def
commit 2cb989243f

@ -136,9 +136,9 @@ export function NetscriptBladeburner(): InternalAPI<INetscriptBladeburner> {
checkBladeburnerAccess(ctx); checkBladeburnerAccess(ctx);
const type = helpers.string(ctx, "type", _type); const type = helpers.string(ctx, "type", _type);
const name = helpers.string(ctx, "name", _name); const name = helpers.string(ctx, "name", _name);
const action = getBladeburnerActionObject(ctx, type, name); const action = getBladeburnerActionObject(ctx, type, name);
const level = _level === undefined ? action.level : helpers.number(ctx, "level", _level); const level = _level === undefined ? action.level : helpers.number(ctx, "level", _level);
const rewardMultiplier = Math.pow(action.rewardFac, level - 1); const rewardMultiplier = Math.pow(action.rewardFac, level - 1);
return action.rankGain * rewardMultiplier * BitNodeMultipliers.BladeburnerRank; return action.rankGain * rewardMultiplier * BitNodeMultipliers.BladeburnerRank;
}, },
getActionCountRemaining: (ctx) => (_type, _name) => { getActionCountRemaining: (ctx) => (_type, _name) => {