From f1fb9afa43bb26fe6d95aeb74951a400ae754552 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sat, 19 Mar 2011 11:15:16 +0100 Subject: [PATCH] [11264] Add script effect of spell 44364 Signed-off-by: NoFantasy --- src/game/SpellEffects.cpp | 10 ++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index eb05ceed9..648f68333 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6336,6 +6336,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) m_caster->CastSpell(m_caster, 50217, true); return; } + case 44364: // Rock Falcon Primer + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) + return; + + // Are there anything special with this, a random chance or condition? + // Feeding Rock Falcon + unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true); + return; + } case 44455: // Character Script Effect Reverse Cast { if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f509bbae1..e29361e16 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 "11263" + #define REVISION_NR "11264" #endif // __REVISION_NR_H__