aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-24 11:32:44 -0500
committermegamage <none@none>2009-05-24 11:32:44 -0500
commitaa67033cc71c536f4d0f4c1cf6d6444d48103371 (patch)
treefec97babcc84b5a7dd1c5535a71a75d8bac3b0e7 /src/game/Unit.cpp
parentc14fb429155f4f477bc1881696162fd0832f6503 (diff)
[7885] Fixed talent 34914 and ranks proc spell to correct spellid. Author: qsa
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 39076a21d8c..e488253b4b7 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5612,9 +5612,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
if(triggeredByAura->GetCasterGUID() != pVictim->GetGUID())
return false;
- // energize amount
- basepoints0 = triggerAmount*damage/100;
- pVictim->CastCustomSpell(pVictim,34919,&basepoints0,NULL,NULL,true,castItem,triggeredByAura);
+ // Energize 0.25% of max. mana
+ pVictim->CastSpell(pVictim,57669,true,castItem,triggeredByAura);
return true; // no hidden cooldown
}
// Divine Aegis