KCritz Posted December 27, 2012 Posted December 27, 2012 request a script please. a script that when you kill a mini or mvp boss you can gain a cashpoint and its a random for every MINIBOSS can gain around 50-150 and then every MMVP can gain around 100-500 Quote
Capuche Posted December 27, 2012 Posted December 27, 2012 - script gvubhnji -1,{ OnNPCKillEvent: if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) { if( getmonsterinfo(killedrid, 22) ) .@R = rand( 100, 500 );//-- MVP else .@R = rand( 50, 150 );//-- MINIBOSS #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; } end; } Quote
2 Capuche Posted October 20, 2013 Posted October 20, 2013 - script gvubhnji -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, 21) & 0x0020 ) { if( getmonsterinfo(killedrid, 22) ) .@R = rand( 100, 500 );//-- MVP else .@R = rand( 50, 150 );//-- MINIBOSS } else .@R = rand( 10,100 );//-- normal monster #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; end; } 1 Quote
-1 krashdragon Posted October 18, 2013 Posted October 18, 2013 how if include normal monster also? Quote
-1 Dev Blaze Posted March 2, 2017 Posted March 2, 2017 On 10/20/2013 at 9:23 PM, Capuche said: - script gvubhnji -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, 21) & 0x0020 ) { if( getmonsterinfo(killedrid, 22) ) .@R = rand( 100, 500 );//-- MVP else .@R = rand( 50, 150 );//-- MINIBOSS } else .@R = rand( 10,100 );//-- normal monster #CASHPOINTS = #CASHPOINTS + .@R; dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; end; } capuche how to include 1 party in your script?? Quote
Question
KCritz
request a script please.
a script that when you kill a mini or mvp boss you can gain a cashpoint and its a random for every MINIBOSS can gain around 50-150 and then every MMVP can gain around 100-500
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.