mirror of
https://github.com/araxiaonline/AscEmu.git
synced 2026-06-13 03:02:22 -04:00
V808 'players' object of 'vector' type was created but was not utilized. Magtheridon.cpp 234
V808 'players' object of 'vector' type was created but was not utilized. LordMarrowgar.cpp 585 V808 'players' object of 'vector' type was created but was not utilized. Saurfang.cpp 1230 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: portalLocation. Portal_Intro.cpp V730 Not all members of a class are initialized inside the constructor. Consider inspecting: portalLocation. Portal_Elite.cpp 1212 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: portalLocation. Portal_Common.cpp 11 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: mbossId. AzureSaboteur.cpp 13 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: coldflameTarget. LordMarrowgar.cpp 12 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: nextVengefulShadeTargetGUID, waveCounter. LadyDeathwhisper.cpp 12 V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_ConeOfFireSpell. NazanAndVazruden.cpp 103
This commit is contained in:
@@ -104,15 +104,11 @@ VazrudenAI::VazrudenAI(Creature* pCreature) : CreatureAIScript(pCreature)
|
||||
{
|
||||
// Normal
|
||||
if (!_isHeroic())
|
||||
{
|
||||
m_RenevgeSpell = addAISpell(SPELL_REVENGE, 30.0f, TARGET_SELF, 0, 5);
|
||||
}
|
||||
|
||||
// Heroic
|
||||
if (_isHeroic())
|
||||
{
|
||||
else
|
||||
m_RenevgeSpell = addAISpell(SPELL_REVENGE_H, 30.0f, TARGET_SELF, 0, 5);
|
||||
}
|
||||
|
||||
m_ConeOfFireSpell = 0;
|
||||
|
||||
// Emotes
|
||||
addEmoteForEvent(Event_OnCombatStart, VAZRUDEN_AGGRO1);
|
||||
|
||||
@@ -231,7 +231,6 @@ void SoulTransfer::filterEffectTargets(Spell* spell, uint8_t /*effectIndex*/, st
|
||||
// Hackfix shouldnt only cast on Channelers
|
||||
effectTargets->clear();
|
||||
|
||||
std::vector<Player*> players;
|
||||
for (const auto& itr : spell->getUnitCaster()->getInRangeObjectsSet())
|
||||
{
|
||||
float distance = spell->getUnitCaster()->CalcDistance(itr);
|
||||
|
||||
@@ -37,6 +37,9 @@ LadyDeathwhisperAI::LadyDeathwhisperAI(Creature* pCreature) : CreatureAIScript(p
|
||||
darkEmpowermentSpell = addAISpell(SPELL_DARK_EMPOWERMENT_T, 0.0f, TARGET_CUSTOM);
|
||||
darkEmpowermentSpell->mIsTriggered = true;
|
||||
darkEmpowermentSpell->addDBEmote(SAY_LADY_EMPOWERMENT);
|
||||
|
||||
waveCounter = 0;
|
||||
nextVengefulShadeTargetGUID = 0;
|
||||
|
||||
|
||||
// Messages
|
||||
|
||||
@@ -20,6 +20,7 @@ LordMarrowgarAI::LordMarrowgarAI(Creature* pCreature) : CreatureAIScript(pCreatu
|
||||
boneSlice = false;
|
||||
boneStormtarget = nullptr;
|
||||
coldflameLastPos = getCreature()->GetPosition();
|
||||
coldflameTarget = 0;
|
||||
|
||||
// Scripted Spells not autocastet
|
||||
boneSliceSpell = addAISpell(SPELL_BONE_SLICE, 0.0f, TARGET_ATTACKING);
|
||||
@@ -582,7 +583,6 @@ void ColdflameDamage::filterEffectTargets(Spell* spell, uint8_t effectIndex, std
|
||||
|
||||
effectTargets->clear();
|
||||
|
||||
std::vector<Player*> players;
|
||||
for (const auto& itr : spell->getUnitCaster()->getInRangePlayersSet())
|
||||
{
|
||||
auto target = static_cast<Player*>(itr);
|
||||
|
||||
@@ -1227,7 +1227,6 @@ void GripOfAgony::filterEffectTargets(Spell* spell, uint8_t effectIndex, std::ve
|
||||
// Hackfix shouldnt cast on self
|
||||
effectTargets->clear();
|
||||
|
||||
std::vector<Player*> players;
|
||||
for (const auto& itr : spell->getUnitCaster()->getInRangeObjectsSet())
|
||||
{
|
||||
float distance = spell->getUnitCaster()->CalcDistance(itr);
|
||||
|
||||
@@ -17,6 +17,8 @@ AzureSaboteurAI::AzureSaboteurAI(Creature* pCreature) : CreatureAIScript(pCreatu
|
||||
|
||||
getCreature()->getAIInterface()->setImmuneToNPC(true);
|
||||
getCreature()->getAIInterface()->setImmuneToPC(true);
|
||||
|
||||
mbossId = 0;
|
||||
}
|
||||
|
||||
CreatureAIScript* AzureSaboteurAI::Create(Creature* pCreature) { return new AzureSaboteurAI(pCreature); }
|
||||
|
||||
@@ -12,6 +12,7 @@ CommonPortalAI::CommonPortalAI(Creature* pCreature) : CreatureAIScript(pCreature
|
||||
{
|
||||
// Instance Script
|
||||
mInstance = getInstanceScript();
|
||||
portalLocation = 0;
|
||||
}
|
||||
|
||||
CreatureAIScript* CommonPortalAI::Create(Creature* pCreature) { return new CommonPortalAI(pCreature); }
|
||||
|
||||
@@ -13,6 +13,7 @@ ElitePortalAI::ElitePortalAI(Creature* pCreature) : CreatureAIScript(pCreature)
|
||||
{
|
||||
// Instance Script
|
||||
mInstance = getInstanceScript();
|
||||
portalLocation = 0;
|
||||
}
|
||||
|
||||
CreatureAIScript* ElitePortalAI::Create(Creature* pCreature) { return new ElitePortalAI(pCreature); }
|
||||
|
||||
@@ -13,6 +13,7 @@ IntroPortalAI::IntroPortalAI(Creature* pCreature) : CreatureAIScript(pCreature)
|
||||
{
|
||||
// Instance Script
|
||||
mInstance = getInstanceScript();
|
||||
portalLocation = 0;
|
||||
}
|
||||
|
||||
CreatureAIScript* IntroPortalAI::Create(Creature* pCreature) { return new IntroPortalAI(pCreature); }
|
||||
|
||||
Reference in New Issue
Block a user