Show
Ignore:
Timestamp:
11/19/08 13:50:41 (17 years ago)
Author:
yumileroy
Message:

*Update aura stacking check. By QAston.
*Update pet autocast check. By qubix.

Original author: megamage
Date: 2008-11-17 17:59:33-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellMgr.h

    r229 r250  
    285285} 
    286286 
    287 bool IsNoStackAuraDueToAura(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2); 
     287//bool IsNoStackAuraDueToAura(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2); 
    288288 
    289289inline bool IsSealSpell(SpellEntry const *spellInfo) 
     
    302302int32 CompareAuraRanks(uint32 spellId_1, uint32 effIndex_1, uint32 spellId_2, uint32 effIndex_2); 
    303303bool IsSingleFromSpellSpecificPerCaster(uint32 spellSpec1,uint32 spellSpec2); 
     304bool IsSingleFromSpellSpecificPerTarget(uint32 spellSpec1,uint32 spellSpec2); 
    304305bool IsPassiveSpell(uint32 spellId); 
    305306 
     
    769770        bool IsRankSpellDueToSpell(SpellEntry const *spellInfo_1,uint32 spellId_2) const; 
    770771        static bool canStackSpellRanks(SpellEntry const *spellInfo); 
    771         bool IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) const; 
     772        bool IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2, bool isFromTheSameCaster ) const; 
    772773 
    773774        SpellEntry const* SelectAuraRankForPlayerLevel(SpellEntry const* spellInfo, uint32 playerLevel) const;