*Turn off log spam.
--HG-- branch : trunk
This commit is contained in:
@@ -454,11 +454,9 @@ SpellEntry const* ScriptedAI::SelectSpell(Unit* Target, int32 School, int32 Mech
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
//Using the extended script system we first create a list of viable spells
|
//Using the extended script system we first create a list of viable spells
|
||||||
SpellEntry const* Spell[4];
|
SpellEntry const* Spell[CREATURE_MAX_SPELLS];
|
||||||
Spell[0] = 0;
|
for (uint8 i=0;i<CREATURE_MAX_SPELLS;i++)
|
||||||
Spell[1] = 0;
|
Spell[i] = 0;
|
||||||
Spell[2] = 0;
|
|
||||||
Spell[3] = 0;
|
|
||||||
|
|
||||||
uint32 SpellCount = 0;
|
uint32 SpellCount = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -828,8 +828,6 @@ void Aura::_AddAura()
|
|||||||
m_target->SetVisibleAura(slot, t_entry);
|
m_target->SetVisibleAura(slot, t_entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
sLog.outError("aura::_addaura slot:%d", slot);
|
|
||||||
|
|
||||||
AuraSlotEntry * entry;
|
AuraSlotEntry * entry;
|
||||||
entry=m_target->GetVisibleAura(slot);
|
entry=m_target->GetVisibleAura(slot);
|
||||||
if(!entry)
|
if(!entry)
|
||||||
|
|||||||
Reference in New Issue
Block a user