mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 01:41:40 +00:00
LWOInventoryComponent_Common::msgUseNonEquipmentItem asks GetStunned first and uses nothing when canUseItem is false (LWOControllablePhysComponent::msgGetStunned: stunned from using items, or dead). The server now counts the use-item stun of every SetStunned it sends for an entity as msgSetStunned does (push/pop, never below 0, characters only, unless immune and not bIgnoreImmunity), and checks it with IsDead before using an item. The server never checked either. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
81 KiB
81 KiB