Lua HasNegativeAura

From ArcEmu-Wiki
Jump to: navigation, search


HasNegativeAura() is similar to :HasAura() but with :HasNegativeAura() or :HasPositiveAura you can know if a spell is negative or positive on a player or a unit.


if player:HasNegativeAura(15007) == true then --15007 = Resurrection Sickness
player:SendBroadcastMessage("You are afflicted of Resurrection Sickness.")

This script would check of the player has Resurrection Sickness and if it's true it would say it to the player.

Personal tools