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:
Nyeriah
2014-11-27 03:19:59 -02:00
parent a84216a933
commit 3d2d2a97e0

View File

@@ -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)