[11584] Add script effects of spell 48724, 48726, 48728 and 48730

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-06-01 12:11:42 +02:00
parent dd66ce20f2
commit 3788348b46
2 changed files with 12 additions and 1 deletions

View file

@ -6885,7 +6885,18 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
// Torture the Torturer: High Executor's Branding Iron Impact
unitTarget->CastSpell(unitTarget, 48614, true);
return;
case 48724: // The Denouncement: Commander Jordan On Death
case 48726: // The Denouncement: Lead Cannoneer Zierhut On Death
case 48728: // The Denouncement: Blacksmith Goodman On Death
case 48730: // The Denouncement: Stable Master Mercer On Death
{
// Compelled
if (!unitTarget || !m_caster->HasAura(48714))
return;
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true);
return;
}
// Gender spells
case 48762: // A Fall from Grace: Scarlet Raven Priest Image - Master
case 45759: // Warsong Orc Disguise

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11583"
#define REVISION_NR "11584"
#endif // __REVISION_NR_H__