UNPKG

borderlands2

Version:

Borderlands 2 weapon damage and DPS calculation library

11 lines (10 loc) 398 B
import { StatType } from "../value_object/stat_type"; import { Decorator } from "../../gear"; import { Context } from "../../context"; import { Weapon } from "../../weapon/interface/weapon"; export interface Stat { type: StatType; value: number; decorator?: Decorator; } export declare function getStat(statType: StatType, stats: Stat[], weapon: Weapon, context: Context): Stat | void;