[8374] Implement glyph 43379.

This commit is contained in:
VladimirMangos 2009-08-16 10:39:32 +04:00
parent a7564128bb
commit 4b644a57a4
3 changed files with 20 additions and 2 deletions

View file

@ -5626,6 +5626,18 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
} }
break; break;
} }
case SPELLFAMILY_ROGUE:
// Sprint (skip non player casted spells by category)
if (GetSpellProto()->SpellFamilyFlags & UI64LIT(0x0000000000000040) && GetSpellProto()->Category == 44)
{
if(!apply || m_target->HasAura(58039)) // Glyph of Blurred Speed
spellId1 = 61922; // Sprint (waterwalk)
else
return;
}
else
return;
break;
case SPELLFAMILY_HUNTER: case SPELLFAMILY_HUNTER:
{ {
// The Beast Within and Bestial Wrath - immunity // The Beast Within and Bestial Wrath - immunity
@ -5637,7 +5649,7 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
spellId4 = 26592; spellId4 = 26592;
} }
// Aspect of the Dragonhawk dodge // Aspect of the Dragonhawk dodge
else if(GetSpellProto()->SpellFamilyFlags2 & 0x00001000) else if (GetSpellProto()->SpellFamilyFlags2 & 0x00001000)
spellId1 = 61848; spellId1 = 61848;
else else
return; return;

View file

@ -1435,6 +1435,12 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
// Master of Subtlety // Master of Subtlety
if (spellId_1 == 31665 && spellId_2 == 31666 || spellId_1 == 31666 && spellId_2 == 31665 ) if (spellId_1 == 31665 && spellId_2 == 31666 || spellId_1 == 31666 && spellId_2 == 31665 )
return false; return false;
// Sprint & Sprint (waterwalk)
if( spellInfo_1->SpellIconID == 516 && spellInfo_2->SpellIconID == 516 &&
(spellInfo_1->Category == 44 && spellInfo_2->Category == 0 ||
spellInfo_2->Category == 44 && spellInfo_1->Category == 0))
return false;
} }
//Overkill //Overkill

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 "8373" #define REVISION_NR "8374"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__