aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-09 19:33:38 +0200
committerQAston <none@none>2009-06-09 19:33:38 +0200
commit507b9fb0516dcde613af0f9d0276af8acbdcb585 (patch)
treeefb8106e14a483b3ff85368b1ec657ae64fae08d /src/game/SpellEffects.cpp
parent4a662071aa6902c9a6790c8d485b66040ae979a2 (diff)
*Fix Heart of the Pheonix
*Fix autoshoot rotation with steady shot. *Make Incanter's Absorption not interrupt other casts. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index e26c8c25827..ae84b6c4ff9 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5133,6 +5133,15 @@ void Spell::EffectScriptEffect(uint32 effIndex)
{
switch(m_spellInfo->Id)
{
+ // Heart of the Pheonix
+ case 55709:
+ {
+ int pct = 100;
+ if (unitTarget->GetTypeId()==TYPEID_UNIT && ((Creature*)unitTarget)->isPet())
+ if (Unit* owner = ((Creature*)unitTarget)->GetOwner())
+ owner->CastCustomSpell(unitTarget, 54114, &pct, NULL, NULL, true);
+ break;
+ }
// Chimera Shot
case 53209:
{