mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[11289] Partially revert [11287] and try to do it properly this time.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
989d229968
commit
40d87bfabf
3 changed files with 4 additions and 11 deletions
|
|
@ -2708,16 +2708,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
target->PlayDirectSound(14972, (Player *)target);
|
target->PlayDirectSound(14972, (Player *)target);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case 62248: // Sleeping Sleep
|
|
||||||
{
|
|
||||||
if (apply)
|
|
||||||
target->setFaction(190); // Ambient (neutral)
|
|
||||||
else
|
|
||||||
target->setFaction(1990); // Ambient (hostile)
|
|
||||||
|
|
||||||
target->ApplyModFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE, apply);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
case 40131:
|
case 40131:
|
||||||
case 27978:
|
case 27978:
|
||||||
if (apply)
|
if (apply)
|
||||||
|
|
|
||||||
|
|
@ -2148,6 +2148,9 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
|
|
||||||
// Sleeping Sleep
|
// Sleeping Sleep
|
||||||
unitTarget->CastSpell(unitTarget, 62248, true);
|
unitTarget->CastSpell(unitTarget, 62248, true);
|
||||||
|
|
||||||
|
unitTarget->setFaction(190); // Ambient (neutral)
|
||||||
|
unitTarget->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case 64385: // Spinning (from Unusual Compass)
|
case 64385: // Spinning (from Unusual Compass)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11288"
|
#define REVISION_NR "11289"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue