mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11287] Add dummy effect of spell 62105 and dummy aura effect of 62248
Note: spell 62105 are still considered to be negative, despite explicit exception added in IsPositiveEffect and will unexpectedly put caster in combat. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
7645b98a49
commit
dae28ae93a
4 changed files with 21 additions and 1 deletions
|
|
@ -2141,6 +2141,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
m_caster->CastSpell(unitTarget,60934,true,NULL);
|
||||
return;
|
||||
}
|
||||
case 62105: // To'kini's Blowgun
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
return;
|
||||
|
||||
// Sleeping Sleep
|
||||
unitTarget->CastSpell(unitTarget, 62248, true);
|
||||
return;
|
||||
}
|
||||
case 64385: // Spinning (from Unusual Compass)
|
||||
{
|
||||
m_caster->SetFacingTo(frand(0, M_PI_F*2), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue