Merge pull request #1025 from KinglyKrab/getracename

Add getracename(race_id) to Perl/Lua.
This commit is contained in:
Chris Miles authored and GitHub committed 2020-04-06 01:57:54 -05:00
commit 6f846dc4ff
4 files changed
+27

No files matched your search

+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";