Code
+++ b/src/game/SpellEffects.cpp
@@ -1764,6 +1791,40 @@ void Spell::EffectDummy(uint32 i)
}
return;
}
+ switch(m_spellInfo->Id)
+ case 46584: // Raise Dead
+ {
+ if (!unitTarget || unitTarget->GetCreatureType() != CREATURE_TYPE_HUMANOID || unitTarget->getDeathState() != CORPSE)
+ if (!m_caster->HasAura(60200)) m_caster->CastSpell(NULL, 48289, true, NULL, NULL, NULL);
+ if (!m_caster->HasSpell(52143)) m_caster->CastSpell(NULL, 46585, true, NULL, NULL, NULL); //caster has no talent Master of Ghouls
+ else m_caster->CastSpell(NULL, 52150, true, NULL, NULL, NULL);
+ return;
+ }
+ }
break;
}