mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Shaman totems enhancement
This commit is contained in:
parent
6b8e906e39
commit
3b7415e819
@ -10,7 +10,7 @@
|
||||
|
||||
bool CastTotemAction::isUseful()
|
||||
{
|
||||
if (needLifeTime > 0.1f)
|
||||
if (needLifeTime > 0.1f && AI_VALUE(uint8, "attacker count") < 3)
|
||||
{
|
||||
Unit* target = AI_VALUE(Unit*, "current target");
|
||||
if (!target)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user