*Fix Heart of the Pheonix

*Fix autoshoot rotation with steady shot.
*Make Incanter's Absorption not interrupt other casts.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2009-06-09 19:33:38 +02:00
1 parent 4a662071aa
commit 507b9fb051
6 files changed
+25 -8

No files matched your search

+9
View File
@@ -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:
{