Kariton Revolution Posted July 13, 2013 Posted July 13, 2013 room jupe_ele Gold Dropping everywhere help can anyone help me to have that thankyou very much Fix thankyou ! Quote
Zasura Posted July 13, 2013 Posted July 13, 2013 (edited) - script gold -1,{ OnNpcKillEvent: getmapxy .@map$,.@x,.@y; if(.@map$=="jupe_ele") { geitem 969,1; } end; } Edited July 15, 2013 by szarkab123 Quote
Emistry Posted July 13, 2013 Posted July 13, 2013 OnNPCKillEvent: if( strcharinfo(3) == "jupe_ele" ) getitem 969,1; end; Quote
Capuche Posted July 13, 2013 Posted July 13, 2013 - script iuno -,{ OnInit: while(1) { if ( getareadropitem( "jupe_ele",34,34,49,54,969 ) < 100 ) makeitem 969,1,"jupe_ele",rand(34,49),rand(34,54); sleep 800; } } Quote
Rock And Paper Posted July 14, 2013 Posted July 14, 2013 - script gold -1,{ OnNpcKillEvent: getmapxy .@map$,.@x,.@y; if(.@map$==jupe_ele) { geitem 969,1; } end; } How to do this on instance maps? Quote
Rock And Paper Posted July 14, 2013 Posted July 14, 2013 (edited) if( compare( strcharinfo(3),"jupe_ele" ) i tested it on endless instance(map 0011@tower) it didnt work, but if i warp to none instance 1@tower it works. Edited July 14, 2013 by Rock And Paper Quote
Rock And Paper Posted July 14, 2013 Posted July 14, 2013 (edited) if( compare( strcharinfo(3),"1@tower" ) sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. - script gold -1,{ OnNpcKillEvent: getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } Edited July 14, 2013 by Rock And Paper Quote
Emistry Posted July 14, 2013 Posted July 14, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Quote
Skorm Posted July 14, 2013 Posted July 14, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Which won't work because killedrid isn't set with custom labels... Unless they actually listened to me. sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. http://rathena.org/board/tracker/issue-7817-onmobdeathevents/ Do that modification then find the label inside your endless tower script and paste this after it. getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } Quote
Rock And Paper Posted July 15, 2013 Posted July 15, 2013 OnNPCKillEvent will not work on the monster that already have their own custom event label .. you have to find that event label inside your script and add ur makeitem script command there ... Which won't work because killedrid isn't set with custom labels... Unless they actually listened to me. >sorry it now works typo on compare, i have a new problem getitem doesnt work on instance mobs, but if I manually @monster it, it drops gold. http://rathena.org/board/tracker/issue-7817-onmobdeathevents/ Do that modification then find the label inside your endless tower script and paste this after it. getmapxy(@m$,@x,@y,0); if (compare(strcharinfo(3),"1@tower") || compare(strcharinfo(3),"2@tower") || compare(strcharinfo(3),"3@tower") || compare(strcharinfo(3),"4@tower") || compare(strcharinfo(3),"5@tower") || compare(strcharinfo(3),"6@tower")) { if(killedrid == 1002) // Poring { makeitem 969,1,@m$,@x,@y; //Gold if (rand(100) < 20) // 20% chance of activating. makeitem 616,1,@m$,@x,@y; // OCA } } thanks skorm, Fixed Quote
Question
Kariton Revolution
room jupe_ele
Gold Dropping everywhere
help can anyone help me to have that
thankyou very much
Fix
thankyou !
11 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.