[8690] added unit auraFlag variable

this can be used for faster checking if an unit has a specific
aura applied..
also implemented the alive-invisible auras now with this way
This commit is contained in:
balrok 2009-10-20 18:53:16 +02:00
parent 46389e4e1c
commit 20e8982075
4 changed files with 21 additions and 4 deletions

View file

@ -2467,6 +2467,16 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
m_target->PlayDirectSound(14972, (Player *)m_target);
}
return;
case 10848:
case 36978:
case 40131:
case 27978:
case 33900:
if (apply)
m_target->m_AuraFlags |= UNIT_AURAFLAG_ALIVE_INVISIBLE;
else
m_target->m_AuraFlags |= ~UNIT_AURAFLAG_ALIVE_INVISIBLE;
return;
}
break;
}