예제 #1
0
BossAI::BossAI(Creature* creature, uint32 bossId) : ScriptedAI(creature),
    instance(creature->GetInstanceScript()),
    summons(creature),
    _boundary(instance ? instance->GetBossBoundary(bossId) : NULL),
    _bossId(bossId)
{
    SetImmuneToPushPullEffects(true);
}
예제 #2
0
        boss_general_vezaxAI(Creature* c) : ScriptedAI(c)
        {
            m_pInstance = c->GetInstanceScript();
            VarporList = std::list<uint64>();
            SetImmuneToPushPullEffects(true);

            // add interrupt flag
            SpellEntry* tempSpell;
            tempSpell = GET_SPELL(SPELL_SEARING_FLAMES);
            if (tempSpell)
                tempSpell->InterruptFlags |= SPELL_INTERRUPT_FLAG_INTERRUPT;
        }
예제 #3
0
 boss_gurtogg_bloodboilAI(Creature *c) : ScriptedAI(c)
 {
     pInstance = c->GetInstanceScript();
     SetImmuneToPushPullEffects(true);
 }
BossAI::BossAI(Creature *c, uint32 id) : ScriptedAI(c)
, bossId(id), summons(me), instance(c->GetInstanceScript())
, boundary(instance ? instance->GetBossBoundary(id) : NULL)
{
    SetImmuneToPushPullEffects(true);
}