Fix Priest T10 Healer 2P Bonus.

Thanks to Arcane.
Expect more tier bonus fixes. :D

--HG--
branch : trunk
This commit is contained in:
John Holiver
2010-08-23 16:09:09 -03:00
parent 062f4267b5
commit 181b995e38
+12
View File
@@ -6471,6 +6471,18 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 28810; triggered_spell_id = 28810;
break; break;
} }
// Priest T10 Healer 2P Bonus
case 70770:
// Flash Heal
if (procSpell->SpellFamilyFlags[0] & 0x800)
{
triggered_spell_id = 70772;
SpellEntry const* blessHealing = sSpellStore.LookupEntry(triggered_spell_id);
if (!blessHealing)
return false;
basepoints0 = int32(triggerAmount * damage / 100 / (GetSpellMaxDuration(blessHealing) / blessHealing->EffectAmplitude[0]));
}
break;
} }
break; break;
} }