mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 22:52:29 +01:00
Format fix...
This commit is contained in:
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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user