Snap Posted April 7, 2012 Posted April 7, 2012 Does anyone has a Script that every time i kill a monster, the monster will drop a specific coin which is bronze coin? Quote
Emistry Posted April 12, 2012 Posted April 12, 2012 [ Pastebin ] Monster Drop Extra Items when Killed tr0n script will stop the script if the 1st monster ID in the list doesnt match with the killedrid instead of "end" he can ty change it to "continue" to loop for the rest ID anyway... there is a easier way...but required a src mod.. cant remember what topic....but i just remember the topic is about mvp announcer.. and...you can find that src mod in the svn changelog.. Quote
Lilith Posted April 8, 2012 Posted April 8, 2012 - script OnNPCKillEvent -1,{ OnNPCKillEvent: getitem 673,1; end; } Quote
Snap Posted April 8, 2012 Author Posted April 8, 2012 Lets be specific. Can be this for MVP Monster Only? Quote
tr0n Posted April 12, 2012 Posted April 12, 2012 - script OnNPCKillEvent -1,{ OnNPCKillEvent: if(killedrid!=<MONSTER ID HERE>)end; getitem 673,1; end; } if you want to use more then one monster id: setarray .monsterids[0],<monster id here>,<monster id here>,...; OnNPCKillEvent: for(set .@i, 0; .@i<getarraysize(.monsterids);set.@i,.@i+1) { if(killedrid==.monsterids[.@i]) { getitem 673,1; end; } } end; didn't tested but should work I think. Quote
tr0n Posted April 12, 2012 Posted April 12, 2012 oh totally forgot that haha. Sry xD I corrected it. Quote
Emistry Posted April 12, 2012 Posted April 12, 2012 wrong at the second script if(killedrid!=.monsterids[.@i]){ <----------Wrong getitem 673,1; end; Quote
tr0n Posted April 12, 2012 Posted April 12, 2012 wrong at the second script if(killedrid!=.monsterids[.@i]){ <----------Wrong getitem 673,1; end; now it's correct. oh man I was too tired to write this easy sh*t Quote
Question
Snap
Does anyone has a Script that every time i kill a monster, the monster will drop a specific coin which is bronze coin?
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.