Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bots] HasBotItem to return slot_id instead of bool. #2966

Merged
merged 1 commit into from
Feb 19, 2023

Conversation

Aeadoin
Copy link
Contributor

@Aeadoin Aeadoin commented Feb 19, 2023

HasBotItem() should have originally returned the slot_id of the item_id equipped. this would make it coincide with the client method of $client->inventory()->HasItem() returns the slot_id of the item_id equipped.

Bots already have a boolean check if an item is equipped by ID $bot->HasItemEquippedByID (uint32 item_id);

@Aeadoin Aeadoin requested a review from Kinglykrab February 19, 2023 20:54
@Kinglykrab Kinglykrab merged commit c13f9f8 into EQEmu:master Feb 19, 2023
@Aeadoin Aeadoin deleted the bothasitem branch February 19, 2023 21:18
@Akkadius Akkadius mentioned this pull request Feb 21, 2023
catapultam-habeo pushed a commit to catapultam-habeo/pyrelight-server that referenced this pull request Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants