mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-28 21:21:30 +00:00
15 lines
326 B
C++
15 lines
326 B
C++
#include "zone/client.h"
|
|
|
|
void command_fleeinfo(Client *c, const Seperator *sep)
|
|
{
|
|
if (c->GetTarget() && c->GetTarget()->IsNPC()) {
|
|
Mob* client = entity_list.GetMob(c->GetID());
|
|
if (client) {
|
|
c->GetTarget()->FleeInfo(client);
|
|
}
|
|
} else {
|
|
c->Message(Chat::Red, "Please target a NPC to use this command on.");
|
|
}
|
|
|
|
}
|