mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10729] Add dummy aura effect of spell 47178 and dummy effect of 47176
Note: see comments in code for spell 47176 Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
673b798863
commit
8140ff20d9
3 changed files with 15 additions and 1 deletions
|
|
@ -1404,6 +1404,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
|
||||
break;
|
||||
}
|
||||
case 47176: // Infect Ice Troll
|
||||
{
|
||||
// Spell has wrong areaGroupid, so it can not be casted where expected.
|
||||
// TODO: research if spells casted by NPC, having TARGET_SCRIPT, can have disabled area check
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// Plague Effect Self
|
||||
unitTarget->CastSpell(unitTarget, 47178, true);
|
||||
return;
|
||||
}
|
||||
case 49357: // Brewfest Mount Transformation
|
||||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue