mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[12029] Implement spell 35865
This commit is contained in:
parent
065bcc6b5c
commit
12fa17dba5
2 changed files with 14 additions and 1 deletions
|
|
@ -6760,6 +6760,19 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
unitTarget->CastSpell(m_caster, 32300, true);
|
unitTarget->CastSpell(m_caster, 32300, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 35865: // Summon Nether Vapor
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
float x, y, z;
|
||||||
|
for (uint8 i = 0; i < 4; ++i)
|
||||||
|
{
|
||||||
|
m_caster->GetNearPoint(m_caster, x, y, z, 0, 5.0f, M_PI_F*.5f*i + M_PI_F*.25f);
|
||||||
|
m_caster->SummonCreature(21002, x, y, z, 0, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 30000);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 38358: // Tidal Surge
|
case 38358: // Tidal Surge
|
||||||
{
|
{
|
||||||
if (!unitTarget)
|
if (!unitTarget)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12027"
|
#define REVISION_NR "12029"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue