UNPKG

genshin_panel

Version:
23 lines (22 loc) 771 B
import Attribute from "../../attribute/attribute"; import { SecondaryTagName } from "../../common/type"; import Character from "../character/character"; export default class Weapon { name: string; eng: string; star: number; ascend: boolean; level: number; refine: number; effect: ((attribute: Attribute, character?: Character) => void) | null; args: any; baseAtk: number; secondary: { name: SecondaryTagName; value: number; } | null; constructor(name: string, level: number, ascend: boolean, refine: number, args?: any); applyPrimary(attribute: Attribute): void; applySecondary(attribute: Attribute): void; applyEffect(attribute: Attribute, character?: Character): void; }