[Cleanup] Cleanup classes.cpp/classes.h (#3752)

* [Cleanup] Cleanup classes.cpp/classes.h

# Notes
- Remove unused methods and cleanup logic.

* Update classes.cpp

* Final push.
This commit is contained in:
Alex King
2023-12-13 18:38:45 -05:00
committed by GitHub
parent df83113cea
commit aeeb350068
49 changed files with 1308 additions and 1486 deletions
+2 -2
View File
@@ -1330,7 +1330,7 @@ void Mob::AI_Process() {
// Now pursue
// TODO: Check here for another person on hate list with close hate value
if (AI_PursueCastCheck()) {
if (IsCasting() && GetClass() != BARD) {
if (IsCasting() && GetClass() != Class::Bard) {
StopNavigation();
FaceTarget();
}
@@ -1382,7 +1382,7 @@ void Mob::AI_Process() {
}
}
if (AI_IdleCastCheck()) {
if (IsCasting() && GetClass() != BARD) {
if (IsCasting() && GetClass() != Class::Bard) {
StopNavigation();
}
}