mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 13:47:57 +00:00
4330494f57
# Notes - Cleanup messages and logic. - Utilize Dialogue Window tables.
15 lines
311 B
C++
Executable File
15 lines
311 B
C++
Executable File
#include "../client.h"
|
|
|
|
void command_shownpcgloballoot(Client *c, const Seperator *sep)
|
|
{
|
|
if (!c->GetTarget() || !c->GetTarget()->IsNPC()) {
|
|
c->Message(Chat::White, "You must target an NPC to use this command.");
|
|
return;
|
|
}
|
|
|
|
const auto t = c->GetTarget()->CastToNPC();
|
|
|
|
zone->ShowNPCGlobalLoot(c, t);
|
|
}
|
|
|