Core/Naxxramas: Maexxna.
- Fix visual bug when Maexxna applied Web Wrap ability.
This commit is contained in:
@@ -182,9 +182,11 @@ public:
|
|||||||
target->RemoveAura(RAID_MODE(SPELL_WEB_SPRAY_10, SPELL_WEB_SPRAY_25));
|
target->RemoveAura(RAID_MODE(SPELL_WEB_SPRAY_10, SPELL_WEB_SPRAY_25));
|
||||||
uint8 pos = urand(0,2);
|
uint8 pos = urand(0,2);
|
||||||
|
|
||||||
target->GetMotionMaster()->MoveJump(PosWrap[pos].GetPositionX(), PosWrap[pos].GetPositionY(), PosWrap[pos].GetPositionZ(), 20, 20);
|
|
||||||
if (Creature *wrap = me->SummonCreature(NPC_WEB_WRAP, PosWrap[pos].GetPositionX(), PosWrap[pos].GetPositionY(), PosWrap[pos].GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_DESPAWN, 60000))
|
if (Creature *wrap = me->SummonCreature(NPC_WEB_WRAP, PosWrap[pos].GetPositionX(), PosWrap[pos].GetPositionY(), PosWrap[pos].GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_DESPAWN, 60000))
|
||||||
|
{
|
||||||
wrap->AI()->SetGUID(target->GetGUID());
|
wrap->AI()->SetGUID(target->GetGUID());
|
||||||
|
target->GetMotionMaster()->MoveJump(PosWrap[pos].GetPositionX(), PosWrap[pos].GetPositionY(), PosWrap[pos].GetPositionZ(), 20, 20);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
events.RepeatEvent(40000);
|
events.RepeatEvent(40000);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user