RachadoPT Posted January 3, 2015 Report Share Posted January 3, 2015 Buenas, alguien ahí que me ayude creando uma quest que quando qualquier mob es muerto, tiene 1% de chance de cair un item de uma lista en la quest. Esto asi hace lo que quiera? when kill with not npc.is_pc() begin local drop_chance = number(1,100) if drop_chance == 1 then local nr = number(1,7) bola = { x , x , x , x , x , x , x } game.drop_item_with_ownership(tonumber(bola[nr], 1)) end end el "x" sera el vnum del item Si eso esta bien, podrian decirmelo porfa? Gracias, RachadoPT Link to comment Share on other sites More sharing options...
PACI Posted January 3, 2015 Report Share Posted January 3, 2015 game.drop_item_with_ownership(bola[nr], 1) RachadoPT 1 Link to comment Share on other sites More sharing options...
RachadoPT Posted January 3, 2015 Author Report Share Posted January 3, 2015 game.drop_item_with_ownership(bola[nr], 1) Fora eso esta todo bien? Link to comment Share on other sites More sharing options...
Recommended Posts