Item-Granted Skill Hotkey Resets After Death

Description: When using an item that grants charges of a skill (e.g., Teleport from a staff), the assigned hotkey for that skill resets after the character dies. This requires the hotkey to be reassigned every time, creating unnecessary inconvenience.

Steps to Reproduce:

  1. Equip an item that grants a skill through charges (e.g., Teleport).
  2. Assign the skill to a hotkey (e.g., F4).
  3. Use the skill with the hotkey to confirm it works.
  4. Die in the game and respawn.
  5. Observe that the hotkey assignment is removed and must be reassigned manually.

Expected Behavior: The hotkey assignment for item-granted skills should persist after death, similar to hotkeys for class skills.

Of course the hotkey assigned is removed since the item holding the skill got removed due to dying.