Nukayool Posted January 1, 2017 at 03:29 PM Share Posted January 1, 2017 at 03:29 PM Boas Malta, Ando aqui com uma dúvida numa quest em que tenha um cofre e para abrir seja preciso uma chave. Se alguém poder ajudar. Exemplo: precise de Cumpz Link to comment
Magician Posted January 1, 2017 at 05:09 PM Share Posted January 1, 2017 at 05:09 PM quest name begin state start begin when cofreid.use begin if pc.count_item(idchave) < 1 then syschat("Necessitas da chave dos deuses") return end local recompensas = number(1,2)-- 1 min recompensas , 2 max recompensas if recompensas == 1 then pc.give_item2(rec,count) elseif recompensas == 2 then pc.give_item2(rec2,count) end pc.remove_item(cofreid,1) end -- w end --s end -- q Link to comment
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