fix(Core/CreatureScript): Fix Ragnaros magma blast (#2394)
This commit is contained in:
@@ -213,7 +213,7 @@ class boss_ragnaros : public CreatureScript
|
|||||||
events.ScheduleEvent(EVENT_ELEMENTAL_FIRE, urand(10000, 14000));
|
events.ScheduleEvent(EVENT_ELEMENTAL_FIRE, urand(10000, 14000));
|
||||||
break;
|
break;
|
||||||
case EVENT_MAGMA_BLAST:
|
case EVENT_MAGMA_BLAST:
|
||||||
if (me->IsWithinMeleeRange(me->GetVictim()))
|
if (!me->IsWithinMeleeRange(me->GetVictim()))
|
||||||
{
|
{
|
||||||
DoCastVictim(SPELL_MAGMA_BLAST);
|
DoCastVictim(SPELL_MAGMA_BLAST);
|
||||||
if (!_hasYelledMagmaBurst)
|
if (!_hasYelledMagmaBurst)
|
||||||
|
|||||||
Reference in New Issue
Block a user