MosswartOverlord/inventory-service
Erik 1e9dffb65b fix: weapon combat stats extraction + spell_contains SQL bug
Bug 1: Weapon stats (max_damage, attack_bonus, variance, damage_type,
weapon_time, weapon_skill) were read from top-level MyWorldObject fields
which are -1 by default. Now extracted from IntValues/DoubleValues keys
where the plugin actually stores them (218103842, 167772170, etc.).

Bug 2: spell_contains and has_spell filters used direct sp.spell_id
reference which fails in the count query CTE (sp table not available
in outer SELECT). Changed to EXISTS subqueries matching the pattern
already used by legendary_cantrips filter.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 17:24:48 +02:00
..
enums added inventory, updated DB 2025-06-10 19:21:21 +00:00
complete_enum_database.json added inventory, updated DB 2025-06-10 19:21:21 +00:00
comprehensive_enum_database_v2.json Add client-side spell column sorting and improve inventory search 2026-01-28 15:32:54 +00:00
database.py feat: add single-item upsert/delete endpoints and container/slot columns 2026-02-28 15:43:58 +00:00
Dockerfile added inventory, updated DB 2025-06-10 19:21:21 +00:00
helpers.py Remove unused scripts and add missing modules to inventory-service 2026-01-28 15:47:51 +00:00
main.py fix: weapon combat stats extraction + spell_contains SQL bug 2026-04-08 17:24:48 +02:00
requirements.txt Debug and inventory 2025-06-19 17:46:19 +00:00
suitbuilder.py Add suitbuilder backend improvements and SSE streaming fix 2026-02-05 19:14:07 +00:00