diff options
author | megamage <none@none> | 2009-05-05 16:56:15 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-05 16:56:15 -0500 |
commit | e69d2cbed95b6cddd009f68dd80fd4614342d1fc (patch) | |
tree | 8dd0777d15adf284f2b0146e791ac4cd868b36e3 /src/game/ObjectMgr.h | |
parent | dcb2b5aa019c409b1b9b1061aa4dd24c8ecacb5d (diff) |
[7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
npc_spellclick_spells, otherwise you won't be able to use them
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.h')
-rw-r--r-- | src/game/ObjectMgr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index e655d122e41..eff1f3812a1 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -99,6 +99,15 @@ extern ScriptMapMap sGameObjectScripts; extern ScriptMapMap sEventScripts; extern ScriptMapMap sWaypointScripts; +struct SpellClickInfo +{ + uint32 spellId; + uint32 questId; + uint8 castFlags; +}; + +typedef std::multimap<uint32, SpellClickInfo> SpellClickInfoMap; + struct AreaTrigger { uint32 access_id; @@ -569,6 +578,9 @@ class ObjectMgr void LoadReputationOnKill(); void LoadPointsOfInterest(); + SpellClickInfoMap mSpellClickInfoMap; + void LoadNPCSpellClickSpells(); + void LoadWeatherZoneChances(); void LoadGameTele(); |