UNPKG

borderlands2

Version:

Borderlands 2 weapon damage and DPS calculation library

16 lines (15 loc) 604 B
import { StatType } from "../value_object/stat_type"; import { Stat } from "../interface/stat"; import { Weapon } from "../../weapon/interface/weapon"; import { Context } from "../../context"; import { EffectType } from "../../effect"; export declare abstract class Skill { level: number; abstract name: string; protected abstract stats: Stat[]; protected effectType?: EffectType; constructor(level: number); getStat(statType: StatType, weapon: Weapon, context: Context): number; protected getEffectiveness(context: Context): number; getEffectType(): EffectType | void; }