mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
* Lots of flee updates primarily based on TAKPs source * Update Values to EQEmu values. * Add rule * Adjustments to fear pathing * Flee/Pathing adjustments (More TAKP code adjusted) * updates * Updates (Massaged functions from TAKP source) --------- Co-authored-by: Kinglykrab <kinglykrab@gmail.com>
15 lines
324 B
C++
15 lines
324 B
C++
#include "../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.");
|
|
}
|
|
|
|
}
|