From ae7f6de936cfd312eae904e4c18197fdd7c257d3 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sun, 28 Feb 2010 13:56:05 +0100 Subject: [PATCH] [9481] Add dummy effect of spell 51276 Signed-off-by: NoFantasy --- src/game/SpellEffects.cpp | 11 +++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index fdb71a055..81726b05d 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1395,6 +1395,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) 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 { if (!unitTarget) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c6f429b5d..cb2957c2b 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9480" + #define REVISION_NR "9481" #endif // __REVISION_NR_H__