mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 22:56:24 +00:00
refactor(Scripts/EasternKingdoms): code cleanup (part 5) - also fix potential crash (#6923)
This commit is contained in:
@@ -577,7 +577,7 @@ public:
|
||||
|
||||
events.Update(diff);
|
||||
|
||||
if (me->HealthBelowPct(30) && !(me->GetEntry() == DARK_SHADE_ENTRY))
|
||||
if (me->HealthBelowPct(30) && me->GetEntry() != DARK_SHADE_ENTRY)
|
||||
{
|
||||
events.Reset();
|
||||
me->InterruptNonMeleeSpells(false);
|
||||
|
||||
Reference in New Issue
Block a user