diff options
| author | Shocker <none@none> | 2010-09-13 01:42:14 +0300 |
|---|---|---|
| committer | Shocker <none@none> | 2010-09-13 01:42:14 +0300 |
| commit | 4908187578a38d97911371bb1d85315417640d3b (patch) | |
| tree | 13bfae45659e3b99233a42357ea0f77e5040a346 /src/server/game/Spells/SpellEffects.cpp | |
| parent | 21182308b3f8ee9b5d47335cea2be162b73b3131 (diff) | |
Core/ScriptMgr: Add hooks for duel phases: OnDuelRequest, OnDuelStart, OnDuelEnd
--HG--
branch : trunk
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rw-r--r-- | src/server/game/Spells/SpellEffects.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 2a49326fe83..166066f1bb9 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -5474,6 +5474,8 @@ void Spell::EffectDuel(SpellEffIndex effIndex) caster->SetUInt64Value(PLAYER_DUEL_ARBITER, pGameObj->GetGUID()); target->SetUInt64Value(PLAYER_DUEL_ARBITER, pGameObj->GetGUID()); + + sScriptMgr.OnPlayerDuelRequest(target, caster); } void Spell::EffectStuck(SpellEffIndex /*effIndex*/) |
