Add weapon stats to inventory tooltips and fix login camera pitch

- propagate item damage range and delay into ItemDef during inventory rebuild
- show weapon damage, speed, and DPS in inventory/character slot tooltips
- fix online spawn camera pitch sign so third-person camera starts above ground
This commit is contained in:
Kelsi 2026-02-18 03:50:47 -08:00
parent 1de2f4c8a0
commit dd8f04ac99
4 changed files with 29 additions and 1 deletions

View file

@ -34,6 +34,9 @@ struct ItemDef {
uint32_t stackCount = 1;
uint32_t maxStack = 1;
uint32_t bagSlots = 0;
float damageMin = 0.0f;
float damageMax = 0.0f;
uint32_t delayMs = 0;
// Stats
int32_t armor = 0;
int32_t stamina = 0;