lamnor Posted October 14, 2019 Group: Members Topic Count: 15 Topics Per Day: 0.01 Content Count: 25 Reputation: 0 Joined: 03/08/16 Last Seen: 3 hours ago Share Posted October 14, 2019 Olá, gostaria de saber se existe alguma maneira de adicionar um drop em apenas um map específico, fazendo com que todos os monstros desse mapa ao derrotalos tenham a possibilidade do drop. Por exemplo, quero que tenha chance de 1% de dropar o item jellopy de todos os monstros da caverna de payon nível 1, porém se eu abrir um galho seco em algum outro mapa e vim um zumbi ele nao terá a chance de drop desse jellopy, pois nao estará no mapa pay_dun00 desde ja agradeço Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 14, 2019 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10013 Reputation: 2345 Joined: 10/28/11 Last Seen: Monday at 04:56 PM Share Posted October 14, 2019 - script Sample -1,{ OnNPCKillEvent: if (strcharinfo(3) == "prt_fild01") { if (rand(100) < 1) { // 1% get item. getitem 512, 1; } } end; } 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.