[11236] Add dummy effect of spell 49859

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-10 11:03:05 +01:00
parent 287aa642b3
commit 792b5ba343
2 changed files with 12 additions and 1 deletions

View file

@ -1687,6 +1687,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
return;
}
case 49859: // Rune of Command
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
return;
// Captive Stone Giant Kill Credit
unitTarget->CastSpell(m_caster, 43564, true);
// Is it supposed to despawn?
((Creature*)unitTarget)->ForcedDespawn();
return;
}
case 50133: // Scourging Crystal Controller
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11235"
#define REVISION_NR "11236"
#endif // __REVISION_NR_H__