Core/Spells: Implement AURA_REMOVE_BY_INTERRUPT to provide aura scripts with more information when removing by Unit::RemoveAurasWithInterruptFlags
This commit is contained in:
@@ -192,7 +192,7 @@ namespace Scripts.Spells.Warlock
|
||||
return;
|
||||
|
||||
AuraRemoveMode removeMode = GetTargetApplication().GetRemoveMode();
|
||||
if (removeMode != AuraRemoveMode.ByDeath || !IsExpired())
|
||||
if (removeMode != AuraRemoveMode.Death || !IsExpired())
|
||||
return;
|
||||
|
||||
if (GetCaster().ToPlayer().isHonorOrXPTarget(GetTarget()))
|
||||
|
||||
Reference in New Issue
Block a user