Jump to content

Recommended Posts

Posted

Hola, necesito una quest algo sencilla, creo...

Su función poner en Drop de todos los Bichos uno o más items por un tiempo configurable y que se les pueda poner una probabilidad de caída a estos items.

 

Si alguien es tan amable de creérmela, se lo agradecería mucho.

Desde ya Gracias.

Posted
quest blablabla beginstate start beginwhen kill with not npc.is_pc() beginif number(1,#maximaprob#) == 1 then	items={ {item1,cantidad1},{item2,cantidad2},{item3,cantidad3},{item4,cantidad4} }	for i = 1, table.getn(items) do		game.drop_item(items[i][1],items[i][2])	endendendendend

Modificas la #maximaprob# por el número que quieras que sea la probabilidad 1/tunumero, ademas editas la tabla items, modificas los items que quieras que drope item1,cantidad1; item2,cantidad2...

 

Un saludo.

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.