Skip to content

Commit

Permalink
Fix the warrior update from @Lidocain
Browse files Browse the repository at this point in the history
  • Loading branch information
ConanHUN committed Nov 21, 2018
1 parent 89547b1 commit 073bc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playerbot/strategy/warrior/WarriorTriggers.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ namespace ai
WarriorCanInterceptTrigger(PlayerbotAI* ai) : Trigger(ai, "intercept") {}
virtual bool IsActive()
{
if (bot->IsInCombat())
if (bot->isInCombat())
{
Unit* target = AI_VALUE(Unit*, "current target");
return target && AI_VALUE2(float, "distance", "current target") >= (sPlayerbotAIConfig.meleeDistance + 8) && target && AI_VALUE2(float, "distance", "current target") <= (sPlayerbotAIConfig.meleeDistance + 24);
Expand Down

0 comments on commit 073bc2e

Please sign in to comment.