mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
shaman, rogue strategy port, use item action.
This commit is contained in:
@@ -20,6 +20,10 @@ bool HasTotemValue::Calculate()
|
||||
if (!creature || !creature->IsTotem())
|
||||
continue;
|
||||
|
||||
if (creature->GetOwner() != bot) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strstri(creature->GetName().c_str(), qualifier.c_str()) && bot->GetDistance(creature) <= botAI->GetRange("spell"))
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user