668 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `DoCheckAreaTarget` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
670 for (std::list<AuraDispelHandler>::iterator itr =
OnDispel.begin(); itr !=
OnDispel.end(); ++itr)
672 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `OnDispel` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
676 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `AfterDispel` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
679 if (!(*itr).GetAffectedEffectsMask(entry))
680 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectApply` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
683 if (!(*itr).GetAffectedEffectsMask(entry))
684 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectRemove` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
687 if (!(*itr).GetAffectedEffectsMask(entry))
688 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `AfterEffectApply` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
691 if (!(*itr).GetAffectedEffectsMask(entry))
692 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `AfterEffectRemove` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
695 if (!(*itr).GetAffectedEffectsMask(entry))
696 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectPeriodic` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
699 if (!(*itr).GetAffectedEffectsMask(entry))
700 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectUpdatePeriodic` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
703 if (!(*itr).GetAffectedEffectsMask(entry))
704 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `DoEffectCalcAmount` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
707 if (!(*itr).GetAffectedEffectsMask(entry))
708 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `DoEffectCalcPeriodic` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
711 if (!(*itr).GetAffectedEffectsMask(entry))
712 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `DoEffectCalcSpellMod` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
715 if (!(*itr).GetAffectedEffectsMask(entry))
716 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectAbsorb` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
719 if (!(*itr).GetAffectedEffectsMask(entry))
720 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `AfterEffectAbsorb` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
723 if (!(*itr).GetAffectedEffectsMask(entry))
724 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectManaShield` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
727 if (!(*itr).GetAffectedEffectsMask(entry))
728 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `AfterEffectManaShield` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
731 if (!(*itr).GetAffectedEffectsMask(entry))
732 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectSplit` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
736 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `DoCheckProc` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
740 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `DoPrepareProc` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
742 for (std::list<AuraProcHandler>::iterator itr =
OnProc.begin(); itr !=
OnProc.end(); ++itr)
744 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `OnProc` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
746 for (std::list<AuraProcHandler>::iterator itr =
AfterProc.begin(); itr !=
AfterProc.end(); ++itr)
748 TC_LOG_ERROR(
"scripts",
"Spell `%u` of script `%s` does not have apply aura effect - handler bound to hook `AfterProc` of AuraScript won't be executed", entry->Id,
m_scriptName->c_str());
751 if (!(*itr).GetAffectedEffectsMask(entry))
752 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `OnEffectProc` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
755 if (!(*itr).GetAffectedEffectsMask(entry))
756 TC_LOG_ERROR(
"scripts",
"Spell `%u` Effect `%s` of script `%s` did not match dbc effect data - handler bound to hook `AfterEffectProc` of AuraScript won't be executed", entry->Id, (*itr).ToString().c_str(),
m_scriptName->c_str());
HookList< EffectAbsorbHandler > AfterEffectAbsorb
Definition: SpellScript.h:745
virtual bool _Validate(SpellInfo const *entry)
Definition: SpellScript.cpp:24
HookList< EffectApplyHandler > AfterEffectApply
Definition: SpellScript.h:692
HookList< EffectCalcSpellModHandler > DoEffectCalcSpellMod
Definition: SpellScript.h:733
HookList< CheckAreaTargetHandler > DoCheckAreaTarget
Definition: SpellScript.h:671
HookList< EffectManaShieldHandler > OnEffectManaShield
Definition: SpellScript.h:750
Definition: SharedDefines.h:1016
HookList< AuraDispelHandler > AfterDispel
Definition: SpellScript.h:681
HookList< EffectApplyHandler > OnEffectRemove
Definition: SpellScript.h:699
HookList< EffectAbsorbHandler > OnEffectAbsorb
Definition: SpellScript.h:739
HookList< EffectSplitHandler > OnEffectSplit
Definition: SpellScript.h:761
HookList< CheckProcHandler > DoCheckProc
Definition: SpellScript.h:767
HookList< EffectApplyHandler > AfterEffectRemove
Definition: SpellScript.h:703
HookList< AuraProcHandler > DoPrepareProc
Definition: SpellScript.h:773
std::string const * m_scriptName
Definition: SpellScript.h:106
HookList< AuraProcHandler > OnProc
Definition: SpellScript.h:777
HookList< AuraDispelHandler > OnDispel
Definition: SpellScript.h:677
HookList< EffectApplyHandler > OnEffectApply
Definition: SpellScript.h:688
HookList< EffectPeriodicHandler > OnEffectPeriodic
Definition: SpellScript.h:709
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
Definition: SpellScript.h:715
HookList< EffectProcHandler > OnEffectProc
Definition: SpellScript.h:787
HookList< EffectProcHandler > AfterEffectProc
Definition: SpellScript.h:791
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
Definition: SharedDefines.h:1037
HookList< EffectManaShieldHandler > AfterEffectManaShield
Definition: SpellScript.h:756
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
Definition: SpellScript.h:721
HookList< AuraProcHandler > AfterProc
Definition: SpellScript.h:781
HookList< EffectCalcPeriodicHandler > DoEffectCalcPeriodic
Definition: SpellScript.h:727