LearningRO Posted July 12, 2013 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: Yesterday at 03:31 AM Share Posted July 12, 2013 (edited) Hi, All i need help i want to make Ramadhan Event When kill monster normal player can get random item like Ketupad (583) Ketupad Sayur (11704) Ramadan( 685) anybody can make script for me ?? sory bad english Edited July 12, 2013 by melv0 Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 12, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted July 12, 2013 OnInit: setarray .item,512,512,512,512; set .item_size,getarraysize( .item ); end; OnNPCKillEvent: getitem .item[ rand( .item_size ) ],1; end; Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 12, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted July 12, 2013 Quote Link to comment Share on other sites More sharing options...
0 Tofee Posted April 21, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 17 Reputation: 0 Joined: 04/07/17 Last Seen: January 22, 2018 Share Posted April 21, 2017 (edited) On 7/12/2013 at 6:04 PM, Emistry said: OnInit: setarray .item,512,512,512,512; set .item_size,getarraysize( .item ); end; OnNPCKillEvent: getitem .item[ rand( .item_size ) ],1; end; what if i want to add a drop rate too. like 10% chance of getting item on kill. Edited April 21, 2017 by Tofee Quote Link to comment Share on other sites More sharing options...
LearningRO Posted July 12, 2013 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: Yesterday at 03:31 AM Author Share Posted July 12, 2013 hi, emistry Can given the exception for monster Sky petitebecause i have gold room and summon to much sky petite in that room Quote Link to comment Share on other sites More sharing options...
Emistry Posted July 12, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2372 Joined: 10/28/11 Last Seen: 8 hours ago Share Posted July 12, 2013 OnNPCKillEvent: if( killedrid == 1002 ) end; getitem .item[ rand( .item_size ) ],1; end; Quote Link to comment Share on other sites More sharing options...
LearningRO Posted July 12, 2013 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: Yesterday at 03:31 AM Author Share Posted July 12, 2013 Hi emistry, I mean I have gold room contains sky petite, but I dont want to that monster drop event Item, I have a plan to make an event for my private server, and I want to make all monster except sky petite drop that item event, can you help me? Quote Link to comment Share on other sites More sharing options...
LearningRO Posted July 12, 2013 Group: Members Topic Count: 107 Topics Per Day: 0.02 Content Count: 778 Reputation: 73 Joined: 02/10/12 Last Seen: Yesterday at 03:31 AM Author Share Posted July 12, 2013 Thx Emistry Quote Link to comment Share on other sites More sharing options...
Question
LearningRO
Hi, All i need help
i want to make Ramadhan Event
When kill monster normal player can get random item like
Ketupad (583)
Ketupad Sayur (11704)
Ramadan( 685)
anybody can make script for me ??
sory bad english
Edited by melv0Link to comment
Share on other sites
7 answers to this question
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.