Core/Misc: Allow waypoint wisp to exceed level 100. If more than 100 waypoints
are generated, there will be errors thrown if you don't have level stats, but this is acceptable. --HG-- branch : trunk
This commit is contained in:
@@ -3045,7 +3045,7 @@ bool ChatHandler::HandleWpShowCommand(const char* args)
|
|||||||
{
|
{
|
||||||
wpCreature->SetDisplayId(target->GetDisplayId());
|
wpCreature->SetDisplayId(target->GetDisplayId());
|
||||||
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
|
wpCreature->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
|
||||||
wpCreature->SetLevel(point > MAX_LEVEL ? MAX_LEVEL : point);
|
wpCreature->SetLevel(point);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (result->NextRow());
|
while (result->NextRow());
|
||||||
|
|||||||
Reference in New Issue
Block a user