Core/Misc: Missing changes and get rid of useless method in acd46085d1

This commit is contained in:
Discover-
2014-01-30 10:28:05 +01:00
parent acd46085d1
commit ad8eb434c0
7 changed files with 3 additions and 17 deletions

View File

@@ -586,16 +586,6 @@ int32 SpellScript::GetEffectValue() const
return m_spell->damage;
}
void SpellScript::SetEffectValue(int32 value)
{
if (!IsInEffectHook())
{
TC_LOG_ERROR("scripts", "Script: `%s` Spell: `%u`: function SpellScript::SetEffectValue was called, but function has no effect in current hook!", m_scriptName->c_str(), m_scriptSpellId);
return;
}
m_spell->damage = value;
}
Item* SpellScript::GetCastItem()
{
return m_spell->m_CastItem;