From 3b7415e8190d04010e2beea8aee8fe23d51ef83b Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Wed, 1 Jan 2025 20:40:48 +0800 Subject: [PATCH] Shaman totems enhancement --- src/strategy/shaman/ShamanActions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategy/shaman/ShamanActions.cpp b/src/strategy/shaman/ShamanActions.cpp index 9ce29240..95426d24 100644 --- a/src/strategy/shaman/ShamanActions.cpp +++ b/src/strategy/shaman/ShamanActions.cpp @@ -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)