mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11182] Add dummy effect of spell 64981
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
57ebd5371d
commit
0c45eee083
2 changed files with 15 additions and 1 deletions
|
|
@ -2050,6 +2050,20 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
m_caster->SetFacingTo(frand(0, M_PI_F*2), true);
|
m_caster->SetFacingTo(frand(0, M_PI_F*2), true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 64981: // Summon Random Vanquished Tentacle
|
||||||
|
{
|
||||||
|
uint32 spell_id = 0;
|
||||||
|
|
||||||
|
switch(urand(0, 2))
|
||||||
|
{
|
||||||
|
case 0: spell_id = 64982; break; // Summon Vanquished Crusher Tentacle
|
||||||
|
case 1: spell_id = 64983; break; // Summon Vanquished Constrictor Tentacle
|
||||||
|
case 2: spell_id = 64984; break; // Summon Vanquished Corruptor Tentacle
|
||||||
|
}
|
||||||
|
|
||||||
|
m_caster->CastSpell(m_caster, spell_id, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 66390: // Read Last Rites
|
case 66390: // Read Last Rites
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT || m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11181"
|
#define REVISION_NR "11182"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue