1
0
EQ2Emu/docs/database/world/item_details_weapon.md
2025-05-04 14:34:15 -04:00

27 lines
975 B
Markdown

## Table: `item_details_weapon`
**Description:**
Defines `item_details_weapon` table in the World database.
**Columns:**
- `id` (int(10), PRIMARY KEY, AUTO_INCREMENT, NOT NULL)
- `item_id` (int(10), NOT NULL, DEFAULT 0)
- `wield_style` (tinyint(3), NOT NULL, DEFAULT 0)
- `damage_type` (tinyint(3), NOT NULL, DEFAULT 0)
- `dmg_low` (smallint(5), NOT NULL, DEFAULT 0)
- `dmg_high` (smallint(5), NOT NULL, DEFAULT 0)
- `dmg_mastery_low` (smallint(5), NOT NULL, DEFAULT 0)
- `dmg_mastery_high` (smallint(5), NOT NULL, DEFAULT 0)
- `dmg_base_low` (smallint(5), NOT NULL, DEFAULT 0)
- `dmg_base_high` (smallint(5), NOT NULL, DEFAULT 0)
- `delay` (tinyint(3), NOT NULL, DEFAULT 0)
- `damage_rating` (float, NOT NULL, DEFAULT 0)
- `item_score` (int(10), NOT NULL, DEFAULT 0)
**Primary Keys:**
- id
**Indexes/Notes:**
- UNIQUE KEY `ItemIndex` (`item_id`)
- CONSTRAINT `FK_item_details_weapon` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE