Am o problema cu un quest... Imi da status.quest:25:expecting 'when' or 'function'
Aici este quest-ul.
Cod: Selectaţi tot
quest status begin
state start begin
when 40003.use begin
say_title("Status Permanent:")
say_verde("Salut ".. pc.get_name() ..", doresti sa ai status permanent?")
say("")
say("Odata ce ai activat statusul permanent")
say("nu o sa mai poti sa il resetezi!")
say("")
say_reward("Esti sigur ca vrei sa iti activezi statusul permanent?")
say("")
local main_set = select ("Da","Nu")
if main_set == 2 then
return
end
if main_set == 1 then
affect.remove_collect()
affect.add_collect(apply.MAX_HP,99000,439200)
affect.add_collect(apply.MAX_SP,99000,439200)
affect.add_collect(apply.INT,99000,439200)
affect.add_collect(apply.STR,99000,439200)
affect.add_collect(apply.DEX,99000,439200)
end
end
pc.removeitem(40003, 1)
end
end
end
end





