mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[11307] Add dummy aura effect of spell 6606
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
1a34a22cb9
commit
91b56d2940
2 changed files with 16 additions and 1 deletions
|
|
@ -2489,6 +2489,21 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
||||||
{
|
{
|
||||||
switch(GetId())
|
switch(GetId())
|
||||||
{
|
{
|
||||||
|
case 6606: // Self Visual - Sleep Until Cancelled (DND)
|
||||||
|
{
|
||||||
|
if (apply)
|
||||||
|
{
|
||||||
|
target->SetStandState(UNIT_STAND_STATE_SLEEP);
|
||||||
|
target->addUnitState(UNIT_STAT_ROOT);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
target->clearUnitState(UNIT_STAT_ROOT);
|
||||||
|
target->SetStandState(UNIT_STAND_STATE_STAND);
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 11196: // Recently Bandaged
|
case 11196: // Recently Bandaged
|
||||||
target->ApplySpellImmune(GetId(), IMMUNITY_MECHANIC, GetMiscValue(), apply);
|
target->ApplySpellImmune(GetId(), IMMUNITY_MECHANIC, GetMiscValue(), apply);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11306"
|
#define REVISION_NR "11307"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue