Item spell cast

This commit is contained in:
Yunfan Li
2024-02-08 13:18:36 +08:00
parent 01b04742b7
commit 74830ea137
4 changed files with 6 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ float AvoidAoeStrategyMultiplier::GetValue(Action* action)
else if (spellId && pSpellInfo->Targets & TARGET_FLAG_SOURCE_LOCATION)
return 1.0f;
uint32 castTime = pSpellInfo->CalcCastTime();
uint32 castTime = pSpellInfo->CalcCastTime(bot);
if (AI_VALUE2(bool, "has area debuff", "self target") && spellId && castTime > 0)
{