Vlatom
1
Hello, we are working on boss http://www.wowhead.com/npc=40788 that should cast http://www.wowhead.com/spell=76207 and “enter” the players head as a “passenger” (like Kobolds in ToC), but it everything except this. Has anyone solved this problem?
Thanks for reply
Vlatom
3
Ok, so a player should have the aura from spell http://www.wowhead.com/spell=76206 which makes him a vehicle, then http://www.wowhead.com/spell=76207 is cast. But http://www.wowhead.com/npc=40788 doesn’t enter the player. However he can enter http://www.wowhead.com/npc=40825, which is actually a vehicle, by casting http://www.wowhead.com/spell=70640
void UpdateAI(uint32 diff) OVERRIDE
{
events.Update(diff);
switch (uint32 procEvent = events.ExecuteEvent())
{
case EVENT_CAST_SPELL_ENSLAVE:
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0, true))
DoCast(target, SPELL_ENSLAVE);
break;
case EVENT_CAST_SPELL_ABSORB_MAGIC:
break;
case EVENT_CAST_SPELL_MIND_FOG:
break;
case EVENT_CAST_SPELL_UNRELENTING_AGONY:
break;
default:
break;
}
//DoMeleeAttackIfReady();
}