mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +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
|
|
@ -2464,6 +2464,9 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 47178: // Plague Effect Self
|
||||||
|
target->SetFeared(apply, GetCasterGUID(), GetId());
|
||||||
|
return;
|
||||||
case 58204: // LK Intro VO (1)
|
case 58204: // LK Intro VO (1)
|
||||||
if (target->GetTypeId() == TYPEID_PLAYER)
|
if (target->GetTypeId() == TYPEID_PLAYER)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1404,6 +1404,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
|
unitTarget->CastSpell(unitTarget,46798,true,m_CastItem,NULL,m_originalCasterGUID);
|
||||||
break;
|
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
|
case 49357: // Brewfest Mount Transformation
|
||||||
{
|
{
|
||||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
if (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 "10728"
|
#define REVISION_NR "10729"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue