mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 13:36:36 +00:00
[Commands] Add #petitems Command. (#1823)
- Add #petitems command to show a person's pet items if they have access to the command. - Adds a default false parameter to QueryLoot for NPCs that keeps messages and logic from being ran on pets for no reason. - Cleaned up message a bit for loot and stuff. - Remove check for loottable ID when using #npcstats for NPCs that get items from a script or otherwise.
This commit is contained in:
+1
-1
@@ -203,7 +203,7 @@ public:
|
||||
void AddCash(uint16 in_copper, uint16 in_silver, uint16 in_gold, uint16 in_platinum);
|
||||
void AddCash();
|
||||
void RemoveCash();
|
||||
void QueryLoot(Client* to);
|
||||
void QueryLoot(Client* to, bool is_pet_query = false);
|
||||
bool HasItem(uint32 item_id);
|
||||
uint16 CountItem(uint32 item_id);
|
||||
uint32 GetItemIDBySlot(uint16 loot_slot);
|
||||
|
||||
Reference in New Issue
Block a user