mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-01 19:56:38 +00:00
[Quest API] Add GetClassAbbreviation() and GetRaceAbbreviation() to Perl/Lua (#3463)
# Perl - Add `$bot->GetClassAbbreviation()`. - Add `$bot->GetRaceAbbreviation()`. - Add `$client->GetClassAbbreviation()`. - Add `$client->GetRaceAbbreviation()`. # Lua - Add `bot:GetClassAbbreviation()`. - Add `bot:GetRaceAbbreviation()`. - Add `client:GetClassAbbreviation()`. - Add `client:GetRaceAbbreviation()`. # Notes - Allows operators to easily get a player race/class abbreviation, example being `Warrior` as `WAR`.
This commit is contained in:
@@ -469,6 +469,8 @@ public:
|
||||
bool IsAutoAttackEnabled();
|
||||
bool IsAutoFireEnabled();
|
||||
uint32 GetEXPForLevel(uint16 check_level);
|
||||
std::string GetClassAbbreviation();
|
||||
std::string GetRaceAbbreviation();
|
||||
|
||||
void ApplySpell(int spell_id);
|
||||
void ApplySpell(int spell_id, int duration);
|
||||
|
||||
Reference in New Issue
Block a user