mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
Removed Common Profiler and Zone Profiler. They're well past outdated status and are just code bloat.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include "../common/StringUtil.h"
|
||||
|
||||
bool Bot::AICastSpell(Mob* tar, uint8 iChance, uint16 iSpellTypes) {
|
||||
_ZP(Bot_AICastSpell);
|
||||
|
||||
if (!tar) {
|
||||
return false;
|
||||
@@ -856,7 +855,6 @@ bool Bot::AI_PursueCastCheck() {
|
||||
bool result = false;
|
||||
|
||||
if (AIautocastspell_timer->Check(false)) {
|
||||
_ZP(Bot_AI_Process_pursue_cast);
|
||||
|
||||
AIautocastspell_timer->Disable(); //prevent the timer from going off AGAIN while we are casting.
|
||||
|
||||
@@ -887,7 +885,6 @@ bool Bot::AI_IdleCastCheck() {
|
||||
bool result = false;
|
||||
|
||||
if (AIautocastspell_timer->Check(false)) {
|
||||
_ZP(Bot_AI_IdleCastCheck);
|
||||
#if MobAI_DEBUG_Spells >= 25
|
||||
cout << "Non-Engaged autocast check triggered: " << this->GetCleanName() << endl;
|
||||
#endif
|
||||
@@ -957,7 +954,6 @@ bool Bot::AI_EngagedCastCheck() {
|
||||
bool failedToCast = false;
|
||||
|
||||
if (GetTarget() && AIautocastspell_timer->Check(false)) {
|
||||
_ZP(Bot_AI_Process_engaged_cast);
|
||||
|
||||
AIautocastspell_timer->Disable(); //prevent the timer from going off AGAIN while we are casting.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user