mirror of
https://github.com/ornfelt/azerothcore_lua_scripts
synced 2026-08-22 06:26:03 -04:00
10 lines
No EOL
226 B
Lua
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) |