[8916] Fixed spell stacking problem for somr sprlls with spell icon 240.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Sarjuuk 2009-12-04 05:07:18 +03:00 committed by VladimirMangos
parent f8d0496407
commit 92ec5ace70
2 changed files with 3 additions and 5 deletions

View file

@ -1329,10 +1329,8 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
spellInfo_2->SpellVisual[0] == 99 && spellInfo_1->SpellVisual[0] == 0 ) ) spellInfo_2->SpellVisual[0] == 99 && spellInfo_1->SpellVisual[0] == 0 ) )
return false; return false;
// Heart of the Wild and (Primal Instinct (Idol of Terror) triggering spell or Agility) // Heart of the Wild, Agility and various Idol Triggers
if( spellInfo_1->SpellIconID == 240 && spellInfo_2->SpellIconID == 240 && ( if(spellInfo_1->SpellIconID == 240 && spellInfo_2->SpellIconID == 240)
spellInfo_1->SpellVisual[0] == 0 && spellInfo_2->SpellVisual[0] == 78 ||
spellInfo_2->SpellVisual[0] == 0 && spellInfo_1->SpellVisual[0] == 78 ) )
return false; return false;
// Personalized Weather (thunder effect should overwrite rainy aura) // Personalized Weather (thunder effect should overwrite rainy aura)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "8915" #define REVISION_NR "8916"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__