mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[10818] Add dummy effect of spell 47170
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
c8abfa4afa
commit
49881d4215
2 changed files with 15 additions and 1 deletions
|
|
@ -1379,6 +1379,20 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
|
||||
break;
|
||||
}
|
||||
case 47170: // Impale Leviroth
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
return;
|
||||
|
||||
unitTarget->SetHealthPercent(8.0f);
|
||||
|
||||
// Cosmetic - Underwater Blood (no sound)
|
||||
// Spell persist through death, but should not be there at respawn (TODO: some research, so this&similar are removed at resp.)
|
||||
unitTarget->CastSpell(unitTarget, 47172, true);
|
||||
|
||||
((Creature*)unitTarget)->AI()->AttackStart(m_caster);
|
||||
return;
|
||||
}
|
||||
case 47176: // Infect Ice Troll
|
||||
{
|
||||
// Spell has wrong areaGroupid, so it can not be casted where expected.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10817"
|
||||
#define REVISION_NR "10818"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue