aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-13 22:48:04 +0100
committerQAston <none@none>2009-03-13 22:48:04 +0100
commit0d5044863e40be5c369cea57ecec8514231f0792 (patch)
tree8f59cae106b9ccfe21ee347d925d94747698a0aa /src/game/Unit.cpp
parent8963006729674211b69bad0948b2de8d82078d62 (diff)
*Add procflag PROC_EX_AURA_REMOVE.
*Use new procflag to fix Psyhic Horror. *Fix a typo in Living Bomb handler. --HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 26b3d7ce7a3..edbb670187a 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5573,6 +5573,22 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 30294;
break;
}
+ // Improved Fear
+ case 53754:
+ {
+ if(!pVictim || !pVictim->isAlive())
+ return false;
+ pVictim->CastSpell(pVictim, 60946,true);
+ return true;
+ }
+ // Improved Fear (Rank 2)
+ case 53759:
+ {
+ if(!pVictim || !pVictim->isAlive())
+ return false;
+ pVictim->CastSpell(pVictim, 60947,true);
+ return true;
+ }
// Shadowflame (Voidheart Raiment set bonus)
case 37377:
{
@@ -5664,6 +5680,22 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 56160;
break;
}
+ // Psychic Horror
+ case 47571:
+ {
+ if(!pVictim || !pVictim->isAlive())
+ return false;
+ pVictim->CastSpell(pVictim, 59980,true);
+ return true;
+ }
+ // Psychic Horror (Rank 2)
+ case 47572:
+ {
+ if(!pVictim || !pVictim->isAlive())
+ return false;
+ pVictim->CastSpell(pVictim, 59981,true);
+ return true;
+ }
// Glyph of Dispel Magic
case 55677:
{