Core/Spells: Implemented using dbc spellpower/ap coeffiecients for spells

This commit is contained in:
Shauren
2014-12-19 23:52:29 +01:00
parent ff0c11e25d
commit 9f0051c4e5
27 changed files with 263 additions and 398 deletions

View File

@@ -645,6 +645,11 @@ SpellValue const* SpellScript::GetSpellValue()
return m_spell->m_spellValue;
}
SpellEffectInfo const* SpellScript::GetEffectInfo(SpellEffIndex effIndex) const
{
return m_spell->GetEffect(effIndex);
}
bool AuraScript::_Validate(SpellInfo const* entry)
{
for (std::list<CheckAreaTargetHandler>::iterator itr = DoCheckAreaTarget.begin(); itr != DoCheckAreaTarget.end(); ++itr)