diff options
| author | offl <offl@users.noreply.github.com> | 2021-03-12 18:06:10 +0200 |
|---|---|---|
| committer | offl <offl@users.noreply.github.com> | 2021-03-12 18:06:10 +0200 |
| commit | 62594c62f6bb6420ae1c0582ebf52beff4711609 (patch) | |
| tree | 11402307c7a7915f5cbaf9ad111881c2a20e9c92 /src/server/scripts/EasternKingdoms | |
| parent | d0b67aecb6428c104c7a0c414384997cd9748ca4 (diff) | |
Scripts/Misc: Let core take care of Feign Death related flags
Diffstat (limited to 'src/server/scripts/EasternKingdoms')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp index 9cff2fe230a..ddf4864e0d9 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp @@ -155,7 +155,7 @@ class boss_apothecary_hummel : public CreatureScript _isDead = true; me->RemoveAurasDueToSpell(SPELL_ALLURING_PERFUME); DoCastSelf(SPELL_PERMANENT_FEIGN_DEATH, true); - me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT | UNIT_FLAG_NOT_SELECTABLE); + me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); Talk(SAY_HUMMEL_DEATH); } } @@ -176,7 +176,7 @@ class boss_apothecary_hummel : public CreatureScript Talk(SAY_HUMMEL_DEATH); events.Reset(); - me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT | UNIT_FLAG_NOT_SELECTABLE); + me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); instance->SetBossState(DATA_APOTHECARY_HUMMEL, DONE); Map::PlayerList const& players = me->GetMap()->GetPlayers(); |
