mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[9474] Implement negative totem effect apply for 30706 and ranks.
This commit is contained in:
parent
eacf2218be
commit
7e2d7d8324
4 changed files with 9 additions and 2 deletions
|
|
@ -2661,6 +2661,9 @@ void Spell::cast(bool skipCheck)
|
|||
// Heroism
|
||||
else if (m_spellInfo->Id == 32182)
|
||||
AddPrecastSpell(57723); // Exhaustion
|
||||
else if (m_spellInfo->Effect[EFFECT_INDEX_0]==SPELL_EFFECT_APPLY_AREA_AURA_RAID && m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000004000000))
|
||||
// only for main totem spell cast
|
||||
AddTriggeredSpell(30708); // Totem of Wrath
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
|
|||
|
|
@ -1730,6 +1730,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
// Ghost Wolf
|
||||
if (spellInfo_1->SpellIconID == 67 && spellInfo_2->SpellIconID == 67)
|
||||
return false;
|
||||
|
||||
// Totem of Wrath (positive/negative), ranks checked early
|
||||
if (spellInfo_1->SpellIconID == 2019 && spellInfo_2->SpellIconID == 2019)
|
||||
return false;
|
||||
}
|
||||
// Bloodlust and Bloodthirst (multi-family check)
|
||||
if( spellInfo_1->Id == 2825 && spellInfo_2->SpellIconID == 38 && spellInfo_2->SpellVisual[0] == 0 )
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9473"
|
||||
#define REVISION_NR "9474"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue