eluna-scripts-ornfelt/lua/WowEmulationScriptPack/Lua/Misc/System_Naked_Character_Fix.lua
2024-09-23 07:59:23 +02:00

13 lines
No EOL
379 B
Lua

-- Debug naked
-- http://www.wowhead.com/spell=54844 (X-Ray Specs)
local function debug_naked(event, player, msg, lang, typ)
if(msg == "#naked" and not player:IsDead()) then
player:CastSpell(player, 54844, false)
local aura = player:GetAura(54844)
if (aura ~= nil) then
aura:Remove()
end
end
end
RegisterPlayerEvent(18, debug_naked)