mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue