mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Shaman totems enhancement
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
bool CastTotemAction::isUseful()
|
bool CastTotemAction::isUseful()
|
||||||
{
|
{
|
||||||
if (needLifeTime > 0.1f)
|
if (needLifeTime > 0.1f && AI_VALUE(uint8, "attacker count") < 3)
|
||||||
{
|
{
|
||||||
Unit* target = AI_VALUE(Unit*, "current target");
|
Unit* target = AI_VALUE(Unit*, "current target");
|
||||||
if (!target)
|
if (!target)
|
||||||
|
|||||||
Reference in New Issue
Block a user