🟦 QUEST: Buff „Anti-Desert” când intri la login pe mapă X (ex: Desert)
Scris: Dum Feb 01, 2026 10:47 am
Cod: Selectaţi tot
quest map_specific_buff begin
state start begin
function cfg()
local c = {}
c.MAP = 63 -- schimba map index
c.TIME = 60 * 30
c.MOV = 20
return c
end
when login begin
if pc.get_map_index() == map_specific_buff.cfg().MAP then
affect.add(apply.MOV_SPEED, map_specific_buff.cfg().MOV, map_specific_buff.cfg().TIME)
syschat("[Map] Ai primit buff de miscare 30 min pe aceasta mapa.")
end
end
end
end