AprendizM2 Posted December 31, 2017 at 12:54 PM Share Posted December 31, 2017 at 12:54 PM Alguém possui Quest que dê prêmios por tempo logado ou algum tutorial de como fazer? Link to comment Share on other sites More sharing options...
Aeglon Posted December 31, 2017 at 03:46 PM Share Posted December 31, 2017 at 03:46 PM Não testada... mas acho que funciona! Spoiler quest give_item_everyhour begin state start begin when login begin loop_timer("timer_give_item", 60*60) -- 60 segundos x 60 minutos == 1 item a cada hora end when timer_give_item.timer begin local list = { 19, 1},{29, 1},{39, 1} } -- lista dos itens a dropar local give = number(1, table.getn(list)) game.drop_item_with_ownership(list[give][1], list[give][2]) --- Entrega o item no chão -- pc.give_item2(list[give][1], list[give][2]) --- entrega directamente no inevntário end end --state end --quest Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now