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

@@ -27,7 +27,7 @@ float CastTimeMultiplier::GetValue(Action* action)
if ((spellInfo->Targets & TARGET_FLAG_DEST_LOCATION) != 0 || (spellInfo->Targets & TARGET_FLAG_SOURCE_LOCATION) != 0)
return 1.0f;
uint32 castTime = spellInfo->CalcCastTime();
uint32 castTime = spellInfo->CalcCastTime(bot);
if (spellInfo->IsChanneled())
{