projecteq-projecteqquests/bothunder/209122.lua
2023-08-15 07:40:18 -04:00

13 lines
303 B
Lua

function event_spawn(e)
eq.set_timer("roll",4*1000);
end
function event_timer(e)
if (e.timer == "roll") then
local rand = math.random(1,100);
if (rand <= 50) then
eq.get_entity_list():MessageClose(e.self, false, 100, MT.White, "The storm clouds pass harmlessly.");
end
eq.depop();
end
end