aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-08 03:10:03 +0100
committerQAston <none@none>2009-03-08 03:10:03 +0100
commit86a4bc7f3f8f0d4f015050469b65ffe4d983864e (patch)
tree98bf4541c1bb4a6a80ce9bab2196bc2f2c476ac2 /src/game/Unit.cpp
parent63b4a12251345f6bd7c4e85d9acc63ad6ca64cb9 (diff)
*Fix judgements of the Wise
*Fix Druids Survival Instincts and thunder clap - by Lightguard. *Fix Death Coil - by Fisherman, aerione_alt, Lightguard --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 13c168ea126..bf508cf48fb 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5843,6 +5843,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
basepoints0 = GetAttackTime(BASE_ATTACK) * int32(ap*0.022f + 0.044f * holy) / 1000;
break;
}
+ // Judgements of the Wise
+ if (dummySpell->SpellIconID == 3017)
+ {
+ // hardcoded amount
+ basepoints0 = 15 * GetMaxPower(POWER_MANA)/100;
+ target = this;
+ triggered_spell_id = 57669;
+ // replenishment
+ CastCustomSpell(this,31930,&basepoints0,0,0,true,0,triggeredByAura);
+ break;
+ }
// Sanctified Wrath
if (dummySpell->SpellIconID == 3029)
{