Merge pull request #1025 from KinglyKrab/getracename

Add getracename(race_id) to Perl/Lua.
This commit is contained in:
Chris Miles
2020-04-06 01:57:54 -05:00
committed by GitHub
4 changed files with 27 additions and 0 deletions
+4
View File
@@ -906,6 +906,10 @@ bool QuestManager::isdisctome(int item_id) {
return(true);
}
std::string QuestManager::getracename(uint16 race_id) {
return GetRaceIDName(race_id);
}
std::string QuestManager::getspellname(uint32 spell_id) {
if (!IsValidSpell(spell_id)) {
return "INVALID SPELL ID IN GETSPELLNAME";