mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 16:58:02 +00:00
[Quest API] Add Class/Deity/Race Methods to Perl/Lua (#4215)
# Perl - Add `$client->GetDeityBitmask()`. - Add `quest::get_class_bitmask(class_id)`. - Add `quest::get_deity_bitmask(deity_id)`. - Add `quest::get_race_bitmask(race_id)`. # Lua - Add `client:GetDeityBitmask()`. - Add `eq.get_class_bitmask(class_id)`. - Add `eq.get_deity_bitmask(deity_id)`. - Add `eq.get_race_bitmask(race_id)`. # Notes - Allows operators to get the class/deity/race bitmask of a class/deity/race by ID. - Allows operators to get a client's deity bitmask.
This commit is contained in:
+1
-1
@@ -1379,7 +1379,7 @@ uint32 GetPlayerRaceValue(uint16 race_id) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32 GetPlayerRaceBit(uint16 race_id) {
|
||||
uint16 GetPlayerRaceBit(uint16 race_id) {
|
||||
switch (race_id) {
|
||||
case HUMAN:
|
||||
return PLAYER_RACE_HUMAN_BIT;
|
||||
|
||||
Reference in New Issue
Block a user