Scripts/Icecrown Citadel: Fixed crash in Blood-Queen Lana'thel script
Closes issue #5017. --HG-- branch : trunk
This commit is contained in:
@@ -268,9 +268,12 @@ class boss_blood_queen_lana_thel : public CreatureScript
|
|||||||
if (offtank != newOfftank)
|
if (offtank != newOfftank)
|
||||||
{
|
{
|
||||||
offtank = newOfftank;
|
offtank = newOfftank;
|
||||||
offtank->CastSpell(me->getVictim(), SPELL_BLOOD_MIRROR_DAMAGE, true);
|
if (offtank)
|
||||||
me->getVictim()->CastSpell(offtank, SPELL_BLOOD_MIRROR_DUMMY, true);
|
{
|
||||||
DoCastVictim(SPELL_BLOOD_MIRROR_VISUAL);
|
offtank->CastSpell(me->getVictim(), SPELL_BLOOD_MIRROR_DAMAGE, true);
|
||||||
|
me->getVictim()->CastSpell(offtank, SPELL_BLOOD_MIRROR_DUMMY, true);
|
||||||
|
DoCastVictim(SPELL_BLOOD_MIRROR_VISUAL);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
events.ScheduleEvent(EVENT_BLOOD_MIRROR, 2500, EVENT_GROUP_CANCELLABLE);
|
events.ScheduleEvent(EVENT_BLOOD_MIRROR, 2500, EVENT_GROUP_CANCELLABLE);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user