mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 12:28:26 +00:00
Support for races up to waypoint node race, wip on interface for pathfinding to support both kinds.
This commit is contained in:
+2
-2
@@ -2317,13 +2317,13 @@ void command_race(Client *c, const Seperator *sep)
|
||||
Mob *t=c->CastToMob();
|
||||
|
||||
// Need to figure out max race for LoY/LDoN: going with upper bound of 500 now for testing
|
||||
if (sep->IsNumber(1) && atoi(sep->arg[1]) >= 0 && atoi(sep->arg[1]) <= 724) {
|
||||
if (sep->IsNumber(1) && atoi(sep->arg[1]) >= 0 && atoi(sep->arg[1]) <= 2259) {
|
||||
if ((c->GetTarget()) && c->Admin() >= commandRaceOthers)
|
||||
t=c->GetTarget();
|
||||
t->SendIllusionPacket(atoi(sep->arg[1]));
|
||||
}
|
||||
else
|
||||
c->Message(0, "Usage: #race [0-724] (0 for back to normal)");
|
||||
c->Message(0, "Usage: #race [0-2259] (0 for back to normal)");
|
||||
}
|
||||
|
||||
void command_gender(Client *c, const Seperator *sep)
|
||||
|
||||
Reference in New Issue
Block a user