Equipment System
Overview¶
Manage equipping and unequipping weapons and armor. Equipped items sync to weapon-main
and weapon-off
slots on actors and affect rolls and damage.
Getting started¶
- Open an item sheet for a weapon or armor
- Toggle Equip to place it on your actor
- Confirm it appears in
weapon-main
orweapon-off
on the actor sheet - Roll an attack or damage to apply modifiers
API¶
import { EquipmentHandler } from 'systems/daggerheart/module/helpers/equipmentHandler.js';
await EquipmentHandler.equipPrimary(actor, weaponItem);
Features¶
- Auto-sync equipped weapons to sheet slots
- Sends formatted item cards to chat
- Integrates with damage modifiers when rolling
- Supports off-hand weapon configuration
- Honors actor permissions for equip/unequip
- Updates loadout bars and relevant UI elements
Typical flows¶
- Equip a weapon on the item sheet
- The weapon appears in
weapon-main
orweapon-off
- Attack rolls use the equipped weapon’s modifiers
Tips¶
- Use item sheet actions to equip faster
- Off-hand weapons apply off-hand modifiers where applicable
- Keep only one primary weapon equipped to avoid confusion
- Use chat cards to confirm item details with your GM
Troubleshooting¶
- If a weapon bonus is missing, verify the item is equipped
- Confirm the actor has weapon slots available
- If nothing changes on roll, ensure modifiers are defined on the item
- If equip is blocked, check ownership and permissions