[11666] Warrior T10 Protection 4P Bonus

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Warlord123 2011-06-24 05:53:18 +04:00 committed by VladimirMangos
parent 405eb1f02a
commit 85a13fcc33
3 changed files with 12 additions and 1 deletions

View file

@ -3014,6 +3014,12 @@ void Spell::cast(bool skipCheck)
if (m_caster->HasAura(58375)) // Glyph of Blocking if (m_caster->HasAura(58375)) // Glyph of Blocking
AddTriggeredSpell(58374); // Glyph of Blocking AddTriggeredSpell(58374); // Glyph of Blocking
} }
// Bloodrage
if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0000000000000100))
{
if (m_caster->HasAura(70844)) // Item - Warrior T10 Protection 4P Bonus
AddTriggeredSpell(70845); // Stoicism
}
// Bloodsurge (triggered), Sudden Death (triggered) // Bloodsurge (triggered), Sudden Death (triggered)
else if (m_spellInfo->Id == 46916 || m_spellInfo->Id == 52437) else if (m_spellInfo->Id == 46916 || m_spellInfo->Id == 52437)
// Item - Warrior T10 Melee 4P Bonus // Item - Warrior T10 Melee 4P Bonus

View file

@ -6817,6 +6817,11 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
float DoneActualBenefit = 0.0f; float DoneActualBenefit = 0.0f;
switch(spellProto->SpellFamilyName) switch(spellProto->SpellFamilyName)
{ {
case SPELLFAMILY_GENERIC:
// Stoicism
if (spellProto->Id == 70845)
DoneActualBenefit = caster->GetMaxHealth() * 0.20f;
break;
case SPELLFAMILY_PRIEST: case SPELLFAMILY_PRIEST:
// Power Word: Shield // Power Word: Shield
if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000000000001)) if (spellProto->SpellFamilyFlags & UI64LIT(0x0000000000000001))

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 "11665" #define REVISION_NR "11666"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__