[9259] Implement talent 52795 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
Splinter 2010-01-26 23:01:01 +03:00 committed by VladimirMangos
parent 8294754cc0
commit 72a52af93e
2 changed files with 15 additions and 1 deletions

View file

@ -6478,8 +6478,22 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
case SPELLFAMILY_PRIEST:
// Power Word: Shield
if (m_spellProto->SpellFamilyFlags & UI64LIT(0x0000000000000001))
{
//+80.68% from +spell bonus
DoneActualBenefit = caster->SpellBaseHealingBonus(GetSpellSchoolMask(m_spellProto)) * 0.8068f;
//Borrowed Time
Unit::AuraList const& borrowedTime = caster->GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraList::const_iterator itr = borrowedTime.begin(); itr != borrowedTime.end(); ++itr)
{
SpellEntry const* i_spell = (*itr)->GetSpellProto();
if(i_spell->SpellFamilyName==SPELLFAMILY_PRIEST && i_spell->SpellIconID == 2899 && i_spell->EffectMiscValue[(*itr)->GetEffIndex()] == 24)
{
DoneActualBenefit += DoneActualBenefit * (*itr)->GetModifier()->m_amount / 100;
break;
}
}
}
break;
case SPELLFAMILY_MAGE:
// Frost Ward, Fire Ward

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9258"
#define REVISION_NR "9259"
#endif // __REVISION_NR_H__