borderlands2
Version:
Borderlands 2 weapon damage and DPS calculation library
50 lines (47 loc) • 1.26 kB
text/typescript
import { ElementalEffect } from "../../weapon/value_object/elemental_effect"
import { TargetType } from "./target_type"
export enum GameModeEnum {
NormalMode = 'Normal Mode',
TrueVaultHunterMode = 'True Vault Hunter Mode',
}
let coefficients = {
[ ]: {
[ ]: {
[ ]: 0.8
},
[ ]: {
[ ]: 1.5,
[ ]: 0.75,
[ ]: 0.75
},
[ ]: {
[ ]: 2
},
[ ]: {
[ ]: 0.9,
[ ]: 1.5,
[ ]: 0.75
}
},
[ ]: {
[ ]: {
[ ]: 0.8
},
[ ]: {
[ ]: 1.75,
[ ]: 0.4,
[ ]: 0.4
},
[ ]: {
[ ]: 2.5
},
[ ]: {
[ ]: 0.6,
[ ]: 1.75,
[ ]: 0.4
}
}
}
export function ElementalDamageCoefficients(mode: GameModeEnum) {
return coefficients[mode]
}