From 2fced710697cd6fd36000cd7a3bab189be52a91f Mon Sep 17 00:00:00 2001 From: tomcoffingiii Date: Mon, 7 Apr 2025 05:05:52 -0400 Subject: [PATCH] Update RaidIccActions.cpp - (#1174) Add logic to gracefully handle bots falling off platform during LK phase 2 fight --- src/strategy/raids/icecrown/RaidIccActions.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/strategy/raids/icecrown/RaidIccActions.cpp b/src/strategy/raids/icecrown/RaidIccActions.cpp index 9d553fe8..bead3a56 100644 --- a/src/strategy/raids/icecrown/RaidIccActions.cpp +++ b/src/strategy/raids/icecrown/RaidIccActions.cpp @@ -3222,6 +3222,9 @@ bool IccLichKingAddsAction::Execute(Event event) return true; } } + + if (!boss) + return false; bool hasWinterAura = boss->HasAura(72259) || boss->HasAura(74273) || boss->HasAura(74274) || boss->HasAura(74275); bool hasWinter2Aura = boss->HasAura(68981) || boss->HasAura(74270) || boss->HasAura(74271) || boss->HasAura(74272);