[Cleanup/Feature] Add support for bots to #showstats/#mystats (#3427)

* Initial Push

* Update classes.cpp

* Update mob.cpp

* Update mob.cpp

* Update showstats.cpp

* Update mystats.cpp

* Remove unused variables.

* Update mob.cpp

* Update class.cpp

* Update race.cpp

* Update mob.h
This commit is contained in:
Alex King authored and GitHub committed 2023-07-01 19:47:54 -04:00
1 parent 927d379e75
commit a1f2764978
16 files changed
+1544 -855

No files matched your search

+3 -4
View File
@@ -11462,10 +11462,9 @@ void Client::Handle_OP_PopupResponse(const EQApplicationPacket *app)
break;
case POPUPID_UPDATE_SHOWSTATSWINDOW:
if (GetTarget() && GetTarget()->IsClient()) {
GetTarget()->CastToClient()->SendStatsWindow(this, true);
}
else {
if (GetTarget() && GetTarget()->IsOfClientBot()) {
GetTarget()->SendStatsWindow(this, true);
} else {
SendStatsWindow(this, true);
}
return;