Core/Auras: Move AuraEffect::TriggerSpell missing spell error log to debug.

This commit is contained in:
QAston
2011-06-11 13:16:19 +02:00
parent ce8977d1ce
commit 34d980ea4c
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -54,11 +54,6 @@ int TurretAI::Permissible(const Creature * /*creature*/)
return PERMIT_BASE_NO; return PERMIT_BASE_NO;
} }
int AOEAI::Permissible(const Creature * /*creature*/)
{
return PERMIT_BASE_NO;
}
int VehicleAI::Permissible(const Creature * /*creature*/) int VehicleAI::Permissible(const Creature * /*creature*/)
{ {
return PERMIT_BASE_NO; return PERMIT_BASE_NO;
@@ -2484,7 +2484,7 @@ void AuraEffect::TriggerSpell(Unit * target, Unit * caster) const
Creature* c = triggerTarget->ToCreature(); Creature* c = triggerTarget->ToCreature();
if (!c || (c && !sScriptMgr->OnDummyEffect(caster, GetId(), SpellEffIndex(GetEffIndex()), triggerTarget->ToCreature())) || if (!c || (c && !sScriptMgr->OnDummyEffect(caster, GetId(), SpellEffIndex(GetEffIndex()), triggerTarget->ToCreature())) ||
(c && !c->AI()->sOnDummyEffect(caster, GetId(), SpellEffIndex(GetEffIndex())))) (c && !c->AI()->sOnDummyEffect(caster, GetId(), SpellEffIndex(GetEffIndex()))))
sLog->outError("AuraEffect::TriggerSpell: Spell %u has value 0 in EffectTriggered[%d] and is therefor not handled. Define as custom case?", GetId(), GetEffIndex()); sLog->outDebug(LOG_FILTER_SPELLS_AURAS, "AuraEffect::TriggerSpell: Spell %u has non-existent spell %u in EffectTriggered[%d] and is therefor not triggered.", GetId(), triggerSpellId, GetEffIndex());
} }
} }