Skip to main content

Module weapon

Module weapon 

Source
Expand description

Weapon classification into the game.item_damage_scaling.weapon_type key.

Enums§

WeaponClass
Weapon classification bucket keyed by game.item_damage_scaling.weapon_type.

Constants§

DAMAGE_RANGE_HALF 🔒
NORMALIZED_SPEED_1H_S 🔒
NORMALIZED_SPEED_2H_S 🔒

Functions§

classify_weapon
Classify a weapon by inventory_type, item_subclass, and caster-weapon flag; None for non-weapons.
normalized_speed_s
Normalized weapon speed (seconds) for AP-contribution.
resolve_weapon_stats
Resolve an equipped weapon’s damage range from its DBC item and scaling rows.