hyuna Posted March 15, 2014 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Share Posted March 15, 2014 (edited) Hello everyone...I wanna ask if its possible to add more drops to MVPs using a script. If so I wanna ask for an easy-to-be-configured script that will contain the following things: 1. All MVPs (including from branches)will have chances to drop the ff: (5%)yggberry box, 2pcs (14232) (3%)MVP voucher, 1pc(7615) (2%)TCG card, 1pc(7227) (0.5%)Proof of Donation, 1pc(7179) 2. Broadcast to the whole server if the MVP drops one or more of those items: "Wow! (PlayerName) has obtained (item name)[(number of item)] from (MVP Name)." ex. Wow! Rick has obtained yggberrybox [2] from Dracula. bump Edited March 17, 2014 by hyuna Quote Link to comment Share on other sites More sharing options...
Patskie Posted March 15, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 6 hours ago Share Posted March 15, 2014 - script Sample -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, 22 ) ) { for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) { if ( rand( 100 ) < .items[ .@i + 2 ] ) { getitem .items[ .@i ], .items[ .@i + 1 ]; announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from " +getmonsterinfo(killedrid, 0)+ ".",0; } } } end; OnInit: // <item id>,<amount>,<chance> setarray .items[0],14232, 2, 5, 7615, 1, 3, 7227, 1, 2, 7179, 1, 1; end; } 1 Quote Link to comment Share on other sites More sharing options...
hyuna Posted March 16, 2014 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 144 Reputation: 4 Joined: 10/28/12 Last Seen: November 29, 2014 Author Share Posted March 16, 2014 - script Sample -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, 22 ) ) { for ( .@i = 0; .@i < getarraysize( .items ); .@i += 3 ) { if ( rand( 100 ) < .items[ .@i + 2 ] ) { getitem .items[ .@i ], .items[ .@i + 1 ]; announce "Wow! " +strcharinfo( 0 )+ " has obtained " +getitemname( .items[ .@i ] )+ " [" +.items[ .@i + 1 ]+ "] from " +getmonsterinfo(killedrid, 0)+ ".",0; } } } end; OnInit: // <item id>,<amount>,<chance> setarray .items[0],14232, 2, 5, 7615, 1, 3, 7227, 1, 2, 7179, 1, 1; end; } THX so much...ITS working like I want it to....+1 Quote Link to comment Share on other sites More sharing options...
simplexjay2 Posted October 10, 2014 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 224 Reputation: 4 Joined: 02/09/12 Last Seen: April 20, 2024 Share Posted October 10, 2014 how to make it autoget Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted October 10, 2014 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Share Posted October 10, 2014 is this still working? Quote Link to comment Share on other sites More sharing options...
Patskie Posted October 21, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 6 hours ago Share Posted October 21, 2014 is this still working? Try instead of waiting for an answer Quote Link to comment Share on other sites More sharing options...
Diconfrost VaNz Posted October 22, 2014 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 996 Reputation: 47 Joined: 11/13/11 Last Seen: Saturday at 06:24 PM Share Posted October 22, 2014 is this still working? Try instead of waiting for an answer i tried but it doesn't work on me. So, i was wondering if this still works on others. Quote Link to comment Share on other sites More sharing options...
Question
hyuna
Hello everyone...I wanna ask if its possible to add more drops to MVPs using a script.
If so I wanna ask for an easy-to-be-configured script that will contain the following things:
1. All MVPs (including from branches)will have chances to drop the ff:
(5%)yggberry box, 2pcs (14232)
(3%)MVP voucher, 1pc(7615)
(2%)TCG card, 1pc(7227)
(0.5%)Proof of Donation, 1pc(7179)
2. Broadcast to the whole server if the MVP drops one or more of those items:
"Wow! (PlayerName) has obtained (item name)[(number of item)] from (MVP Name)."
ex.
Wow! Rick has obtained yggberrybox [2] from Dracula.
bump
Edited by hyunaLink to comment
Share on other sites
6 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.