mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
Use pathpoint races for showing nodes
The nearest neighbor command will grow them instead of changing race now.
This commit is contained in:
parent
fdef1090c3
commit
638d43e3cf
@ -560,7 +560,8 @@ void PathManager::SpawnPathNodes()
|
|||||||
sprintf(npc_type->lastname, "%i", PathNodes[i].id);
|
sprintf(npc_type->lastname, "%i", PathNodes[i].id);
|
||||||
npc_type->cur_hp = 4000000;
|
npc_type->cur_hp = 4000000;
|
||||||
npc_type->max_hp = 4000000;
|
npc_type->max_hp = 4000000;
|
||||||
npc_type->race = 151;
|
npc_type->race = 2253;
|
||||||
|
npc_type->size = 3.0f;
|
||||||
npc_type->gender = 2;
|
npc_type->gender = 2;
|
||||||
npc_type->class_ = 9;
|
npc_type->class_ = 9;
|
||||||
npc_type->deity= 1;
|
npc_type->deity= 1;
|
||||||
@ -1377,7 +1378,7 @@ void PathManager::ShowPathNodeNeighbours(Client *c)
|
|||||||
Mob *m = entity_list.GetMob(Name);
|
Mob *m = entity_list.GetMob(Name);
|
||||||
|
|
||||||
if(m)
|
if(m)
|
||||||
m->SendIllusionPacket(151);
|
m->ChangeSize(3.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::stringstream Neighbours;
|
std::stringstream Neighbours;
|
||||||
@ -1401,7 +1402,7 @@ void PathManager::ShowPathNodeNeighbours(Client *c)
|
|||||||
Mob *m = entity_list.GetMob(Name);
|
Mob *m = entity_list.GetMob(Name);
|
||||||
|
|
||||||
if(m)
|
if(m)
|
||||||
m->SendIllusionPacket(46);
|
m->ChangeSize(5.0f);
|
||||||
}
|
}
|
||||||
c->Message(0, "Neighbours: %s", Neighbours.str().c_str());
|
c->Message(0, "Neighbours: %s", Neighbours.str().c_str());
|
||||||
}
|
}
|
||||||
@ -1560,7 +1561,8 @@ int32 PathManager::AddNode(float x, float y, float z, float best_z, int32 reques
|
|||||||
sprintf(npc_type->lastname, "%i", new_id);
|
sprintf(npc_type->lastname, "%i", new_id);
|
||||||
npc_type->cur_hp = 4000000;
|
npc_type->cur_hp = 4000000;
|
||||||
npc_type->max_hp = 4000000;
|
npc_type->max_hp = 4000000;
|
||||||
npc_type->race = 151;
|
npc_type->race = 2253;
|
||||||
|
npc_type->size = 3.0f;
|
||||||
npc_type->gender = 2;
|
npc_type->gender = 2;
|
||||||
npc_type->class_ = 9;
|
npc_type->class_ = 9;
|
||||||
npc_type->deity= 1;
|
npc_type->deity= 1;
|
||||||
@ -1621,7 +1623,8 @@ int32 PathManager::AddNode(float x, float y, float z, float best_z, int32 reques
|
|||||||
sprintf(npc_type->lastname, "%i", new_id);
|
sprintf(npc_type->lastname, "%i", new_id);
|
||||||
npc_type->cur_hp = 4000000;
|
npc_type->cur_hp = 4000000;
|
||||||
npc_type->max_hp = 4000000;
|
npc_type->max_hp = 4000000;
|
||||||
npc_type->race = 151;
|
npc_type->race = 2253;
|
||||||
|
npc_type->size = 3.0f;
|
||||||
npc_type->gender = 2;
|
npc_type->gender = 2;
|
||||||
npc_type->class_ = 9;
|
npc_type->class_ = 9;
|
||||||
npc_type->deity= 1;
|
npc_type->deity= 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user