Hi guys, I created a new quest but may be errors, please check it. This is quest file way:
/quest/object/101/kill/101_kill.quest
good syntax for see
or
Code:
local level = pc.get_level
local randoom = math.random(1,3)
if level <= 1 then
if randoom == 1 then
pc.get_gold(1)
end
if randoom == 2 then
pc.get_gold(2)
end
if randoom == 3 then
pc.get_gold(3)
end
end
if level <= 3 then
if randoom == 1 then
pc.get_gold(1)
end
if randoom == 2 then
pc.get_gold(1)
end
if randoom == 3 then
pc.get_gold(2)
end
end
if level >= 4 then
--passing, not give nothing
end
thx com..