nagatto 2,130 Posted September 6, 2014 Boas malta, estou com algumas duvidas. Quero adicionar a probabilidade de drop de x item em cada morte e está-me aqui a moer a cabeça, alguém sabe? |: Share this post Link to post Share on other sites
0 Morfo69 66 Posted September 6, 2014 when kill beginif npc.is_pc() thenlocal itens = { {30188, 1} }local a = math.random(1,20)if a == 2 thenif pc.level >= 80 and pc.level <= 90 thengame.drop_item_with_ownership(itens[math.random(1,1)][1], itens[2])endendend Share this post Link to post Share on other sites
Boas malta, estou com algumas duvidas.
Quero adicionar a probabilidade de drop de x item em cada morte e está-me aqui a moer a cabeça, alguém sabe? |:
Share this post
Link to post
Share on other sites