Что-то с 1234 ревой не собирается SD2.
Ошибка в boss_vaelastrasz.cpp
Код:
++i;
target = m_creature->SelectAttackingTarget(ATTACKING_TARGET_RANDOM,1);//not aggro leader
if (target)
if (target->getPowerType() == POWER_MANA)
i=3;
}
if (target) // cast on self (see below)
Тут косяк target->CastSpell(target,SPELL_BURNINGADRENALINE,1);
BurningAdrenalineCaster_Timer = 15000;
}else BurningAdrenalineCaster_Timer -= diff;
//BurningAdrenalineTank_Timer
if (BurningAdrenalineTank_Timer < diff)
{
// have the victim cast the spell on himself otherwise the third effect aura will be applied
// to Vael instead of the player
Тут косяк m_creature->getVictim()->CastSpell(m_creature->getVictim(),SPELL_BURNINGADRENALINE,1);
BurningAdrenalineTank_Timer = 45000;
}else BurningAdrenalineTank_Timer -= diff;
//FireNova_Timer
if (FireNova_Timer < diff)
{
DoCastSpellIfCan(m_creature->getVictim(),SPELL_FIRENOVA);
FireNova_Timer = 5000;
}else FireNova_Timer -= diff;
Error C2248 Невозможно обратиться к private члену объявленному в классе "Unit". (188, 189 строки)
Удалил эти в 2 строчки, все собралось. Но босс видимо остался без скриптов.