Core/SpellScripts: Added method to access m_spellValue in script
This commit is contained in:
1 parent
7b95bbd2c1
commit
080c420e6a
2 files changed
+6
No files matched your search
@@ -477,6 +477,11 @@ void SpellScript::SetCustomCastResultMessage(SpellCustomErrors result)
|
||||
m_spell->m_customError = result;
|
||||
}
|
||||
|
||||
SpellValue const* SpellScript::GetSpellValue()
|
||||
{
|
||||
return m_spell->m_spellValue;
|
||||
}
|
||||
|
||||
bool AuraScript::_Validate(SpellInfo const* entry)
|
||||
{
|
||||
for (std::list<CheckAreaTargetHandler>::iterator itr = DoCheckAreaTarget.begin(); itr != DoCheckAreaTarget.end(); ++itr)
|
||||
|
||||
Reference in new issue
Block a user