aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Logging/Log.cpp
diff options
context:
space:
mode:
authorjoschiwald <joschiwald@online.de>2013-01-11 01:21:44 +0100
committerjoschiwald <joschiwald@online.de>2013-01-11 01:21:44 +0100
commit89490e4d7f4abff0eb756fcf07fbf21d7ca6381b (patch)
tree5c0635680c6c44d9d51e2784d83eb26f3c16a561 /src/server/shared/Logging/Log.cpp
parent5f28502c0a5a6a480055705c59b074b5333d7d63 (diff)
Core/SpellScripts: implement Spell Proc Hooks and use it in old and new proc system
Hooks: - DoCheckProc: executed when aura checks if it can proc - DoPrepareProc: executed before aura procs (possibility to prevent charge drop/cooldown) - OnProc: executed when aura procs - OnEffectProc: executed when aura effect procs - AfterEffectProc: executed after aura effect proced - AfterProc: executed after aura proced and charges removed using PreventDefaultAction() in DoPrepareProc will prevent charge drop and cooldown default execution of a proc can prevented in OnEffectProc with PreventDefaultAction() Now we should be able to convert almost all procs from Unit::ProcDamageAndSpellFor to SpellScripts Notes to old proc system: - if a proc has a cooldown we must check it in spellscript and add it when we handle the proc - behavior with charge drops is possible undefined (use PreventDefaultAction() in OnEffectProc to notify that the script is executed)
Diffstat (limited to 'src/server/shared/Logging/Log.cpp')
0 files changed, 0 insertions, 0 deletions