Cod: Selectaţi tot
quest map_level_gate begin
state start begin
function cfg()
local c = {}
c.MAP = 61 -- map index
c.MIN_LEVEL = 120
return c
end
when kill begin
if pc.get_map_index() != map_level_gate.cfg().MAP then return end
if pc.get_level() >= map_level_gate.cfg().MIN_LEVEL then return end
-- daca e sub level, nu dam nimic (doar mesaj rar)
if number(1, 25) == 1 then
syschat("[Info] Ai nevoie de level "..map_level_gate.cfg().MIN_LEVEL.." pe aceasta mapa.")
end
end
end
end
