antiblock
Rodnia | Alpha & Omega
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
kimameixede

[Resolvido]O Que Esta Errado Com Isto

8 posts in this topic

boas pessoal o que esta mal com isto.queria adicionar um cofre novo ao servidor com os seguintes dropsGroup Cofre Dragao{Vnum 501281 71032 3 852 9991 1 303 9992 1 304 9993 1 305 9994 1 306 9995 1 307 9996 1 308 9997 1 309 71027 5 6010 71028 5 6011 40001 1 5012 71029 5 6013 71030 5 6014 30007 1 7515 71109 1 5016 71044 1 8017 71045 1 8018 72724 1 7019 72728 1 7020 11290 1 6521 11490 1 6522 11690 1 6523 11890 1 6524 11971 1 5025 11972 1 5026 11973 1 5027 11974 1 5028 3150 1 7029 1120 1 7030 2180 1 7031 170 1 7032 7150 1 7033 71119 1 1534 71124 1 1535 71127 1 1536 71136 1 1537 71141 1 1538 71163 1 1039 71164 1 1540 71166 1 1541 71178 1 1542 71179 1 1543 71180 1 1544 71181 1 1545 71182 1 1546 71183 1 1547 71196 1 1548 71197 1 1549 71198 1 1550 71199 1 1551 71200 1 1552 51002 5 65}o que esta mal aqui? e que quando ponho isso no iitem_group o servidor crasha depois de eu dar reboot.

Share this post


Link to post
Share on other sites
antiblock
Rodnia | Alpha & Omega

Faz isso como eu: Por quest.

Com um math.random é como se fosse isso ai.

quest cofre_beran_setaou beginstate start begin  when 50080.use begin   local premio = math.random(1,2)   if premio == 1 then    pc.give_item2("50821", 1)   elseif premio == 2 then    pc.give_item2("50821", 2)   end  endendend
Penso que se leres a quest umas duas ou três vezes, percebes como editá-la.

Cumprimentos.

Share this post


Link to post
Share on other sites

e nao da para fazer isto pelo special item group?

Share this post


Link to post
Share on other sites
Claro que dá, mas fazeres pelo special_item_group vai dar ao mesmo que por aí..

Share this post


Link to post
Share on other sites

a quest da para por percentagem de drop????

Share this post


Link to post
Share on other sites

a quest da para por percentagem de drop????

A percentagem colocas no math.random... por exemplo lá está math.random(1,2), ou seja, só há 2 hipóteses de sair um item, logo, 50% para cada um. E assim em diante.

Share this post


Link to post
Share on other sites

ok obrigao doute + por me teres ajudado

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this