Jump to content

[Dúvida] Cofre Que Pede Chave Para Abrir


Nukayool
 Share

Recommended Posts

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
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...