mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 11:47:55 +00:00
[Quest API] Add CampAllBots() to Perl/Lua. (#2732)
# Perl - Add `$client->CampAllBots()`. - Add `$client->CampAllBots(class_id)`. # Lua - Add `client:CampAllBots()`. - Add `client:CampAllBots(class_id)`. # Notes - Adds constants for `NO_CLASS` which is class `0` and uses `RACE_DOUG_0` for any spots that use race ID `0`. - Cleans up magic number usage of race/class of `0`.
This commit is contained in:
+2
-2
@@ -71,8 +71,8 @@ void Petition::SendPetitionToPlayer(Client* clientto) {
|
||||
Petition::Petition(uint32 id)
|
||||
{
|
||||
petid = id;
|
||||
charclass = 0;
|
||||
charrace = 0;
|
||||
charclass = NO_CLASS;
|
||||
charrace = RACE_DOUG_0;
|
||||
charlevel = 0;
|
||||
checkouts = 0;
|
||||
unavailables = 0;
|
||||
|
||||
Reference in New Issue
Block a user