Scripts/Spells: Implement OnPrecast scripting hook for spell scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/12d00e2e5f7e2cc7efe1ea8d126f9408055c05f8)
This commit is contained in:
@@ -502,6 +502,8 @@ namespace Game.Scripting
|
||||
|| m_currentScriptState == (byte)SpellScriptHookType.EffectSuccessfulDispel;
|
||||
}
|
||||
|
||||
public virtual void OnPrecast() { }
|
||||
|
||||
Spell m_spell;
|
||||
uint m_hitPreventEffectMask;
|
||||
uint m_hitPreventDefaultEffectMask;
|
||||
|
||||
Reference in New Issue
Block a user