donkeyg Posted November 5, 2013 Group: Members Topic Count: 344 Topics Per Day: 0.08 Content Count: 1060 Reputation: 1 Joined: 02/13/12 Last Seen: November 14, 2016 Share Posted November 5, 2013 how do i make Mvps in mvp room drop card at o.o1%, the original rate Outside card drop is o.5% Quote Link to comment Share on other sites More sharing options...
GmOcean Posted November 5, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted November 5, 2013 You have 2 options to do this: 1. Create a custom monster, a duplicate really, and change its card drop rate, so that it is influenced by your rates properly. OR 2. Create a custom monster, a duplicate really, and use this script I created a few years back for eAthena. - script CustomDropRates -1,{ OnInit: setarray $@MobOkay_ID[0],1651,1649,1650,1647,1646,1648; //Replace XXXX with the ID's of the monsters you want to be affected by this script. Add more as necessariy. *Note only supports 128 different monsters* set $@MaxDropChance,10;end; OnNPCKillEvent: if( strcharinfo(3) != "mapname" ){end;} for(set @i,0; @i<getarraysize($@MobOkay_ID); set @i,@i+1) {if (killedrid==$@MobOkay_ID[@i]) {callfunc "DropItemRate";}} end; } function script DropItemRate { set @i,0; set @dropID,0; deletearray $@MobDrop_item[0],128; getmobdrops(killedrid); goto iDropItemLoop; iDropItemLoop: set @i,rand(1,$@MaxDropChance); if (@dropID == $@MobDrop_count){dispbottom "Success"; end;} if (@i==1 && $@MobDrop_rate[@dropID]<=1) {getitem $@MobDrop_item[@dropID],1; set @dropID,@dropID+1; goto iDropItemLoop;} if (@i<=$@MaxDropChance){set @dropID,@dropID+1; goto iDropItemLoop;} end; } The setup for this script is easy really. 1. Create a duplicate of your monster, following the guide here: http://rathena.org/wiki/Custom_Mobs 2. After that, go to your new "custom" mob, and change the card droprate ( or any drops you want to be affected by this script ) to 0. 3. Go to my script, and replace, "mapname" with your actual map you want this to work on. 4. Place script in your npc/custom folder, and add it to script_custom.conf 5. Either restart your server OR @reloadscript && @reloadmobdb After that is done, simply test for any issues. Once you've determined there aren't any issues simply remove dispbottom "Success"; From this line: if (@dropID == $@MobDrop_count){dispbottom "Success"; end;} If you have any further questions on how to configure this script further refer to this topic here: http://rathena.org/board/topic/77309-help-custom-drop-rate/?hl=%2Bcustom+%2Bdrop+%2Brate Quote Link to comment Share on other sites More sharing options...
Whathell Posted November 5, 2013 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 116 Reputation: 4 Joined: 01/11/12 Last Seen: April 16, 2023 Share Posted November 5, 2013 There is a third option. lol xD I think this is easier. Drop rate mapflag. Quote Link to comment Share on other sites More sharing options...
GmOcean Posted November 6, 2013 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share Posted November 6, 2013 That is a better option, I didn't know it existed. Well, there we go. I'd use Solution #3 as well. Quote Link to comment Share on other sites More sharing options...
Question
donkeyg
how do i make Mvps in mvp room drop card at o.o1%, the original rate Outside card drop is o.5%
Link to comment
Share on other sites
3 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.