[10280] Implement glyph 43425

This commit is contained in:
VladimirMangos 2010-07-28 21:27:09 +04:00
parent 04cb020e86
commit 8b3fffb0ba
2 changed files with 15 additions and 4 deletions

View file

@ -2785,11 +2785,14 @@ void Spell::cast(bool skipCheck)
{ {
case SPELLFAMILY_GENERIC: case SPELLFAMILY_GENERIC:
{ {
if (m_spellInfo->Mechanic == MECHANIC_BANDAGE) // Bandages // Bandages
if (m_spellInfo->Mechanic == MECHANIC_BANDAGE)
AddPrecastSpell(11196); // Recently Bandaged AddPrecastSpell(11196); // Recently Bandaged
else if(m_spellInfo->Id == 20594) // Stoneskin // Stoneskin
else if (m_spellInfo->Id == 20594)
AddTriggeredSpell(65116); // Stoneskin - armor 10% for 8 sec AddTriggeredSpell(65116); // Stoneskin - armor 10% for 8 sec
else if(m_spellInfo->Id == 71904) // Chaos Bane strength buff // Chaos Bane strength buff
else if (m_spellInfo->Id == 71904)
AddTriggeredSpell(73422); AddTriggeredSpell(73422);
break; break;
} }
@ -2800,6 +2803,14 @@ void Spell::cast(bool skipCheck)
AddPrecastSpell(41425); // Hypothermia AddPrecastSpell(41425); // Hypothermia
break; break;
} }
case SPELLFAMILY_WARRIOR:
{
// Shield Slam
if ((m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000020000000000)) && m_spellInfo->Category==1209)
if (m_caster->HasAura(58375)) // Glyph of Blocking
AddTriggeredSpell(58374); // Glyph of Blocking
break;
}
case SPELLFAMILY_PRIEST: case SPELLFAMILY_PRIEST:
{ {
// Power Word: Shield // Power Word: Shield

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 "10279" #define REVISION_NR "10280"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__