aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-24 11:13:45 -0500
committermegamage <none@none>2009-05-24 11:13:45 -0500
commit4ebe23324b3eddf3828b4011b532d4b2da0257df (patch)
tree58d0823edcc241dcf8b9009b884c3221d16c56d9 /src
parent9381493a642c63b86103cab4a3e0b0a0bbdde3e3 (diff)
[7879] Fixed proc for 31571 and ranks. Author: Tanatos
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 17b618cb3cd..77aecbf9d88 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5263,6 +5263,22 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
CastSpell(target, triggered_spell_id, true, 0, triggeredByAura);
return true;
}
+
+ //Arcane Potency
+ if (dummySpell->SpellIconID == 2120)
+ {
+ if(!procSpell)
+ return false;
+
+ target = this;
+ switch (dummySpell->Id)
+ {
+ case 31571: triggered_spell_id = 57529; break;
+ case 31572: triggered_spell_id = 57531; break;
+ }
+ break;
+ }
+
// Hot Streak
if (dummySpell->SpellIconID == 2999)
{