*Fix drain mana, judgement of widsom and viper sting damage amount. Patch by Maxxie.

*Add one more rank of Devour Magic.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-03-01 16:29:40 +01:00
1 parent ef500cc204
commit 44de012148
3 files changed
+18 -4

No files matched your search

+4 -1
View File
@@ -5765,7 +5765,10 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
case 20186:
{
if (pVictim->getPowerType() == POWER_MANA)
pVictim->CastSpell(pVictim, 20268, true, 0, triggeredByAura);
{
int32 gainMana = pVictim->GetCreateMana() * triggeredByAura->GetBasePoints() / 100;
pVictim->CastCustomSpell(pVictim, 20268, &gainMana, 0, 0, true, 0, triggeredByAura);
}
return true;
}
// Holy Power (Redemption Armor set)