aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjoschiwald <joschiwald.trinity@gmail.com>2014-07-19 21:23:18 +0200
committerjoschiwald <joschiwald.trinity@gmail.com>2014-07-19 21:23:18 +0200
commit35f5a78a4307eba07cceb94e62504338daa944ea (patch)
tree751d9c3ce393bffd9f43919f5ac4e0a83a14b610 /src
parent297e63da362adaaec13617c253194726c47f60e2 (diff)
parent35d508cd6d4cc1c2f587a5146f444fdb71dccbe9 (diff)
Merge pull request #12166 from MitchesD/hor
Scripts/HoR: fixed possible exploit with taunt during escape event
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
index b40cfe881dc..b4d1ee2f09b 100644
--- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/halls_of_reflection.cpp
@@ -961,9 +961,11 @@ class npc_jaina_or_sylvanas_escape_hor : public CreatureScript
if (Creature* lichking = ObjectAccessor::GetCreature(*me, _instance->GetData64(DATA_THE_LICH_KING_ESCAPE)))
{
+ me->CastSpell(lichking, SPELL_TAUNT_ARTHAS, true);
+ lichking->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_TAUNT, true);
+ lichking->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_ATTACK_ME, true);
AttackStart(lichking);
lichking->AI()->AttackStart(me);
- me->CastSpell(lichking, SPELL_TAUNT_ARTHAS, true);
}
me->SetHealth(JAINA_SYLVANAS_MAX_HEALTH);
me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP | UNIT_NPC_FLAG_QUESTGIVER);