[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:
Alex King authored and GitHub committed 2023-01-14 09:14:50 -06:00
1 parent 095f4fb56c
commit f5523b40d2
20 files changed
+77 -30

No files matched your search

+1 -1
View File
@@ -1571,7 +1571,7 @@ void Lua_Mob::SendIllusionPacket(luabind::adl::object illusion) {
return;
}
int race = 0;
int race = RACE_DOUG_0;
int gender = 255;
int texture = 255;
int helmtexture = 255;