mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[11236] Add dummy effect of spell 49859
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
287aa642b3
commit
792b5ba343
2 changed files with 12 additions and 1 deletions
|
|
@ -1687,6 +1687,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
|
|
||||||
return;
|
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
|
case 50133: // Scourging Crystal Controller
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11235"
|
#define REVISION_NR "11236"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue