mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Ferocious bite time fix
This commit is contained in:
parent
9aaeb67d3a
commit
6060843d32
@ -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;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user