Core/Misc: Missing changes and get rid of useless method in acd46085d1
This commit is contained in:
1 parent
acd46085d1
commit
ad8eb434c0
7 files changed
+3
-17
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user