Ferocious bite time fix

This commit is contained in:
Yunfan Li
2024-09-01 17:44:23 +08:00
parent 9aaeb67d3a
commit 6060843d32

View File

@@ -252,12 +252,12 @@ public:
return false;
Aura* roar = botAI->GetAura("savage roar", bot);
bool roarCheck = roar && roar->GetDuration() > 8000;
bool roarCheck = !roar || roar->GetDuration() > 8000;
if (!roarCheck)
return false;
Aura* rip = botAI->GetAura("rip", target, true);
bool ripCheck = rip && rip->GetDuration() > 8000;
bool ripCheck = !rip || rip->GetDuration() > 8000;
if (!ripCheck)
return false;