[11684] Hunter T7 4P Bonus

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Den 2011-06-27 16:27:35 +04:00 committed by VladimirMangos
parent 52b3f66b38
commit 9c186a25be
3 changed files with 13 additions and 1 deletions

View file

@ -9226,6 +9226,14 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
{
switch (GetId())
{
case 34074: // Aspect of the Viper
{
if (!apply || m_target->HasAura(60144)) // Viper Attack Speed
spellId1 = 61609; // Vicious Viper
else
return;
break;
}
case 19574: // Bestial Wrath - immunity
case 34471: // The Beast Within - immunity
{

View file

@ -2227,6 +2227,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
// Bestial Wrath
if (spellInfo_1->SpellIconID == 1680 && spellInfo_2->SpellIconID == 1680)
return false;
// Aspect of the Viper & Vicious Viper
if (spellInfo_1->SpellIconID == 2227 && spellInfo_2->SpellIconID == 2227)
return false;
}
// Wing Clip -> Improved Wing Clip (multi-family check)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11683"
#define REVISION_NR "11684"
#endif // __REVISION_NR_H__