mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11542] Replace partly spell list by recently added function in one more place.
This commit is contained in:
parent
6b66f12a67
commit
81984732a3
2 changed files with 5 additions and 5 deletions
|
|
@ -4891,8 +4891,8 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
|
|||
{
|
||||
uint32 mechanic = 1 << (misc-1);
|
||||
|
||||
//immune movement impairment and loss of control
|
||||
if(GetId()==42292 || GetId()==59752 || GetId()==65547)
|
||||
// immune movement impairment and loss of control (spell data have special structure for mark this case)
|
||||
if (IsSpellRemoveAllMovementAndControlLossEffects(GetSpellProto()))
|
||||
mechanic=IMMUNE_TO_MOVEMENT_IMPAIRMENT_AND_LOSS_CONTROL_MASK;
|
||||
|
||||
target->RemoveAurasAtMechanicImmunity(mechanic, GetId());
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11541"
|
||||
#define REVISION_NR "11542"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue