mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7116] added support for spell 50977, still requires entry in spell_target_position for triggered spell 53822
This commit is contained in:
parent
e188a0a505
commit
9af1caccd8
2 changed files with 11 additions and 1 deletions
|
|
@ -4841,6 +4841,16 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
||||||
unitTarget->CastSpell(unitTarget,51771,false);
|
unitTarget->CastSpell(unitTarget,51771,false);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Death Gate
|
||||||
|
case 52751:
|
||||||
|
{
|
||||||
|
if(!unitTarget || unitTarget->getClass() != CLASS_DEATH_KNIGHT)
|
||||||
|
return;
|
||||||
|
// triggered spell is stored in m_spellInfo->EffectBasePoints[0]
|
||||||
|
unitTarget->CastSpell(unitTarget, damage, false);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7115"
|
#define REVISION_NR "7116"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue