From 6060843d3239566e27998f0490a307e8a5d97318 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 1 Sep 2024 17:44:23 +0800 Subject: [PATCH] Ferocious bite time fix --- src/strategy/druid/DruidTriggers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/strategy/druid/DruidTriggers.h b/src/strategy/druid/DruidTriggers.h index b0f13205..3b8fdce7 100644 --- a/src/strategy/druid/DruidTriggers.h +++ b/src/strategy/druid/DruidTriggers.h @@ -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;