Scripts/MoltenCore: Fix logic at Ragnaros' Magma Blast casts
(should only be cast while the main target is not in melee range)
This commit is contained in:
1 parent
a84216a933
commit
3d2d2a97e0
1 file changed
+1
-1
@@ -225,7 +225,7 @@ class boss_ragnaros : public CreatureScript
|
||||
events.ScheduleEvent(EVENT_ELEMENTAL_FIRE, urand(10000, 14000));
|
||||
break;
|
||||
case EVENT_MAGMA_BLAST:
|
||||
if (me->IsWithinMeleeRange(me->GetVictim()))
|
||||
if (!me->IsWithinMeleeRange(me->GetVictim()))
|
||||
{
|
||||
DoCastVictim(SPELL_MAGMA_BLAST);
|
||||
if (!_hasYelledMagmaBurst)
|
||||
|
||||
Reference in new issue
Block a user