mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-03 02:43:49 +00:00
Ferocious bite time fix
This commit is contained in:
@@ -252,12 +252,12 @@ public:
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
Aura* roar = botAI->GetAura("savage roar", bot);
|
Aura* roar = botAI->GetAura("savage roar", bot);
|
||||||
bool roarCheck = roar && roar->GetDuration() > 8000;
|
bool roarCheck = !roar || roar->GetDuration() > 8000;
|
||||||
if (!roarCheck)
|
if (!roarCheck)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Aura* rip = botAI->GetAura("rip", target, true);
|
Aura* rip = botAI->GetAura("rip", target, true);
|
||||||
bool ripCheck = rip && rip->GetDuration() > 8000;
|
bool ripCheck = !rip || rip->GetDuration() > 8000;
|
||||||
if (!ripCheck)
|
if (!ripCheck)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user