UNPKG

mh3-data

Version:

Monster Hunter Tri data for monsters, quests, and weapons

19 lines (18 loc) 746 B
import type { CutHit, Hit, Weapon, WeaponDamageProperties } from './types'; import { Sharpness, WeaponClass } from './enum'; /** * Type guard for a {@link CutHit} */ export declare function isCutHit(object: Hit): object is CutHit; /** * @param weaponClass * @param weaponId * * @returns instance of a {@link Weapon} */ export declare function getWeapon(weaponClass: WeaponClass, weaponId: number): Weapon; /** * @returns DamageProperties corresponding to the provided weaponType */ export declare function getWeaponDamageProperties(weaponClass: WeaponClass): WeaponDamageProperties<typeof weaponClass>; export declare function sharpnessAsString(sharpness: Sharpness): "purple" | "blue" | "green" | "orange" | "red" | "yellow" | "white";