refactor: update behavior slot determination to use equipLocation instead of itemType

This commit is contained in:
Aaron Kimbrell
2026-06-08 22:27:42 -05:00
parent a156a8fcba
commit 54dc3a0b80
2 changed files with 14 additions and 23 deletions

View File

@@ -367,11 +367,10 @@ public:
void RemoveDatabasePet(LWOOBJID id);
/**
* Returns the current behavior slot active for the passed item type
* @param type the item type to find the behavior slot for
* @return the current behavior slot active for the passed item type
* Returns the behavior slot for the given equipLocation string.
* This is the authoritative mapping used for skill slot assignment.
*/
static BehaviorSlot FindBehaviorSlot(eItemType type);
static BehaviorSlot FindBehaviorSlot(const std::string& equipLocation);
/**
* Checks if the inventory type is a temp inventory