From c452767c5dcd844abebf6cd6ab85297bcf23b8be Mon Sep 17 00:00:00 2001 From: Gene Nazarov Date: Sat, 30 Nov 2024 14:06:00 -0800 Subject: [PATCH] Don't redo buffs while mounted or in combat or flying. fixes stagger while gathering for outdoors raid/boss --- SmartBuff.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SmartBuff.lua b/SmartBuff.lua index 75d4be3..052b644 100644 --- a/SmartBuff.lua +++ b/SmartBuff.lua @@ -1026,7 +1026,8 @@ end -- Set the buff array function SMARTBUFF_SetBuffs() - if (InCombatLockdown()) then return end + -- Don't init things when mounted or in combat + if (InCombatLockdown() or IsMounted() or IsFlying()) then return end if (B == nil) then return; end local n = 1;