From 00c2035cc751f915a71ee3d896bdbbe0e8ac8082 Mon Sep 17 00:00:00 2001 From: ApoC Date: Sun, 25 Oct 2009 03:32:27 +0100 Subject: [PATCH] [8730] Fixed spell 51770 after my recent changes in auras trigger system. Signed-off-by: ApoC --- src/game/SpellEffects.cpp | 4 ++-- src/shared/revision_nr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 268577939..afe0ceac7 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5086,10 +5086,10 @@ void Spell::EffectScriptEffect(uint32 effIndex) // Emblazon Runeblade case 51770: { - if(!unitTarget) + if(!m_originalCaster) return; - unitTarget->CastSpell(unitTarget, 51771, false); + m_originalCaster->CastSpell(m_originalCaster, damage, false); break; } // Death Gate diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index cd01b7874..a1abba072 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 "8729" + #define REVISION_NR "8730" #endif // __REVISION_NR_H__