mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[12706] Implement some spells for Ahune encounter
Spell entries: 46371, 46372 and 46430 (original author @xfurry)
This commit is contained in:
parent
ae593e19f0
commit
6081b6a816
4 changed files with 21 additions and 3 deletions
|
|
@ -7892,6 +7892,7 @@ void Spell::GetSpellRangeAndRadius(SpellEffectEntry const* spellEffect, float& r
|
||||||
case 45785: // Sinister Reflection Clone (SWP, Kil'jaeden)
|
case 45785: // Sinister Reflection Clone (SWP, Kil'jaeden)
|
||||||
case 45892: // Sinister Reflection (SWP, Kil'jaeden)
|
case 45892: // Sinister Reflection (SWP, Kil'jaeden)
|
||||||
case 45976: // Open Portal (SWP, M'uru)
|
case 45976: // Open Portal (SWP, M'uru)
|
||||||
|
case 46372: // Ice Spear Target Picker (Slave Pens, Ahune)
|
||||||
case 47669: // Awaken Subboss (Utgarde Pinnacle)
|
case 47669: // Awaken Subboss (Utgarde Pinnacle)
|
||||||
case 48278: // Paralyze (Utgarde Pinnacle)
|
case 48278: // Paralyze (Utgarde Pinnacle)
|
||||||
case 50742: // Ooze Combine (Halls of Stone)
|
case 50742: // Ooze Combine (Halls of Stone)
|
||||||
|
|
|
||||||
|
|
@ -8147,8 +8147,9 @@ void Aura::PeriodicDummyTick()
|
||||||
// case 46205: break;
|
// case 46205: break;
|
||||||
// // Find Opening Beam End
|
// // Find Opening Beam End
|
||||||
// case 46333: break;
|
// case 46333: break;
|
||||||
// // Ice Spear Control Aura
|
case 46371: // Ice Spear Control Aura
|
||||||
// case 46371: break;
|
target->CastSpell(target, 46372, true, NULL, this);
|
||||||
|
return;
|
||||||
// // Hailstone Chill
|
// // Hailstone Chill
|
||||||
// case 46458: break;
|
// case 46458: break;
|
||||||
// // Hailstone Chill, Internal
|
// // Hailstone Chill, Internal
|
||||||
|
|
|
||||||
|
|
@ -1953,6 +1953,22 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 46372: // Ice Spear Target Picker
|
||||||
|
{
|
||||||
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
return;
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, 46359, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 46430: // Synch Health
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->SetHealth(m_caster->GetHealth());
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 46485: // Greatmother's Soulcatcher
|
case 46485: // Greatmother's Soulcatcher
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12705"
|
#define REVISION_NR "12706"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue