[Cleanup] Cleanup Deity Code (#4363)

* [Cleanup] Cleanup Deity-based Code

* Final push.

* Update deity.cpp

* Update deity.cpp

* Update deity.cpp

* Cleanup

* Cleanup

* [Cleanup] Cleanup Skill-based Code

* Update deity.cpp

* Update lua_client.cpp
This commit is contained in:
Alex King
2024-06-01 19:21:26 -04:00
committed by GitHub
parent 76b9ce0ac1
commit caa647dc6b
19 changed files with 131 additions and 163 deletions
+2 -2
View File
@@ -1371,7 +1371,7 @@ void QuestManager::sfollow() {
owner->SetFollowID(0);
}
void QuestManager::changedeity(int deity_id) {
void QuestManager::changedeity(uint32 deity_id) {
QuestManagerCurrentQuestVars();
//Changes the deity.
if(initiator)
@@ -4364,7 +4364,7 @@ std::string QuestManager::getgendername(uint32 gender_id) {
}
std::string QuestManager::getdeityname(uint32 deity_id) {
return EQ::deity::GetDeityName(static_cast<EQ::deity::DeityType>(deity_id));
return Deity::GetName(deity_id);
}
std::string QuestManager::getinventoryslotname(int16 slot_id) {