示例#1
0
 boss_akilzonAI(Creature *c) : ScriptedAI(c)
 {
     SpellEntry *TempSpell = GET_SPELL(SPELL_ELECTRICAL_DAMAGE);
     SpellEffectEntry const* spellEffect = TempSpell->GetSpellEffect(EFFECT_1);
     //if (spellEffect)
         //spellEffect->EffectBasePoints = 49;//disable bugged lightning until fixed in core
     pInstance = c->GetInstanceScript();
 }
示例#2
0
 boss_kazrogalAI(Creature *c) : hyjal_trashAI(c)
 {
     pInstance = c->GetInstanceScript();
     pGo = false;
     pos = 0;
     SpellEntry *TempSpell = GET_SPELL(SPELL_MARK);
     SpellEffectEntry const* spellEffect = TempSpell->GetSpellEffect(EFFECT_0);
     if (spellEffect && spellEffect->EffectImplicitTargetA != 1)
     {
         //spellEffect->EffectImplicitTargetA = 1;
         //spellEffect->EffectImplicitTargetB = 0;
     }
 }