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

10 lines
No EOL
226 B
Lua

local function onKillInRandDung(event, killer, killed)
if(isCorrectMap(killer)) then
local roll = math.random(10)
if(roll == 1)then
givePlayerDungeonpopup(killer)
end
end
end
RegisterPlayerEvent(7,onKillInRandDung)