[11264] Add script effect of spell 44364

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-03-19 11:15:16 +01:00
parent 3c9f268b53
commit f1fb9afa43
2 changed files with 11 additions and 1 deletions

View file

@ -6336,6 +6336,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 50217, true); m_caster->CastSpell(m_caster, 50217, true);
return; 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 case 44455: // Character Script Effect Reverse Cast
{ {
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT) if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11263" #define REVISION_NR "11264"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__