mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[11264] Add script effect of spell 44364
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
3c9f268b53
commit
f1fb9afa43
2 changed files with 11 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11263"
|
||||
#define REVISION_NR "11264"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue