[Commands] Cleanup #ai Command. (#1980)

- Cleanup messages and logic.
- Remove #ai start/#ai stop as they can crash zones and are mostly useless.
- Add EQ::constants::GetConsiderLevelMap() and EQ::constants::GetConsiderLevelName().
- Add quest::getconsiderlevelname(consider_level) to Perl.
- Add eq.get_consider_level_name(consider_level) to Lua.
This commit is contained in:
Kinglykrab
2022-02-11 16:26:08 -05:00
committed by GitHub
parent 99793cab8b
commit d2d7b8108d
7 changed files with 310 additions and 118 deletions
+4
View File
@@ -1052,6 +1052,10 @@ std::string QuestManager::getbodytypename(uint32 bodytype_id) {
return EQ::constants::GetBodyTypeName(static_cast<bodyType>(bodytype_id));
}
std::string QuestManager::getconsiderlevelname(uint8 consider_level) {
return EQ::constants::GetConsiderLevelName(consider_level);
}
void QuestManager::safemove() {
QuestManagerCurrentQuestVars();
if (initiator && initiator->IsClient())