quest drago begin
state start begin
when 2493.kill begin
local count = pc.getqf("count") + 1
if count < 2 then
pc.setqf("count", count)
chat("Hai massacrato "..count..". drago su 2!")
else
pc.delqf("count")
chat("Verrai teleportato tra 60 secondi!")
timer("tornavillo",60)
end
end
when tornavillo.timer begin
pc.warp(x , y) --se vuoi che tutti vadano in un posto in particolare, altrimenti segui il passaggio sotto
-- se vuoi che vadano ognuno al suo villo
local regno = pc.get_empire()
if regno == 1 then
--torna dai rossi
elseif regno == 2 then
--torna dai gialli
elseif regno == 3 then
--torna dai blu <.<
end
end
end
end