diff options
author | QAston <none@none> | 2009-08-17 02:53:39 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-08-17 02:53:39 +0200 |
commit | 41c12d173b8d0cf297edf70e40b8e13b9bf3af35 (patch) | |
tree | 483b138dcad5abd803330495cc211c3a90218173 /src/game/ObjectMgr.h | |
parent | 6359bfb27ac42392dc3a314fc5fe194964485931 (diff) |
*Add spell_bonus_data for lightwell - by Elron
*Add aura_required, aura_forbidden, user_type columns to npc_spellclick_spells table for additional requirement checks
*Remove workarounds from lightwell code and use new npc_spellclick_spells fields instead.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.h')
-rw-r--r-- | src/game/ObjectMgr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.h b/src/game/ObjectMgr.h index a3c39f18fc9..6624cc7e76d 100644 --- a/src/game/ObjectMgr.h +++ b/src/game/ObjectMgr.h @@ -106,9 +106,12 @@ struct SpellClickInfo uint32 questEnd; // quest end (quest don't must be rewarded for spell apply) bool questStartCanActive; // if true then quest start can be active (not only rewarded) uint8 castFlags; + uint32 auraRequired; + uint32 auraForbidden; + SpellClickUserTypes userType; // helpers - bool IsFitToRequirements(Player const* player) const; + bool IsFitToRequirements(Player const* player, Creature const * clickNpc) const; }; typedef std::multimap<uint32, SpellClickInfo> SpellClickInfoMap; |