UNPKG

mh3-data

Version:

Monster Hunter Tri data for monsters, quests, and weapons

23 lines (22 loc) 1.08 kB
import type { DamageBuffArgs, MonsterArgs, WeaponArgs } from './types'; /** * RAW DAMAGE FORMULA * * Taken from Lord Grahf's [Monster Hunter Tri Damage Formula FAQ](https://gamefaqs.gamespot.com/wii/943655-monster-hunter-tri/faqs/59207) * - Section 1b. Raw Damage Formula (RFMLA) * * [ATP x TYPE x SHARP x HITZONE x VAR] / [CLASS] = Raw Damage * * @example * [ATP]: 494 // (Lance 483 + attack boost 11) * [TYPE]: .23 // (Normal lance stab, 23%) * [SHARP]: 1.05 // (Green sharpness 105%, or 1.05) * [HITZONE]: .90 // (Rathian head multiplier is 90) * [DEFENSE]: .75 // (In this high rank online quest, defense is .75) * [VAR]: 1.0 // (No special variable for lance) * [CLASS]: 2.3 // (All lances, class multiplier 2.3) * * [ATP x TYPE x SHARP x HITZONE] / [CLASS] = Raw Damage [X DEFENSE] * 494 x .23 x 1.05 x .90 / 2.3 = 46.683 X .75 */ export declare function calculateDamage(weaponArgs: WeaponArgs, monsterArgs: MonsterArgs, damageBuffArgs: Partial<DamageBuffArgs>): import("./types").Damage[];