mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9481] Add dummy effect of spell 51276
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
53eeb6d99a
commit
ae7f6de936
2 changed files with 12 additions and 1 deletions
|
|
@ -1395,6 +1395,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 51276: // Incinerate Corpse
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->CastSpell(unitTarget, 51278, true);
|
||||||
|
unitTarget->CastSpell(m_caster, 51279, true);
|
||||||
|
|
||||||
|
unitTarget->setDeathState(JUST_DIED);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 51330: // Shoot RJR
|
case 51330: // Shoot RJR
|
||||||
{
|
{
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9480"
|
#define REVISION_NR "9481"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue