Jump to content
  • 0

Question

Posted

I am having trouble lowering MVP card drop rate.

for example:

Now I my mvp card is 10x normal drop rate, which make every mvp drop card at 0.10%

I want to edit so that a certain few mvp drop card at 0.05% and 0.01%

But in the database, the card drop rate is already set at 1 which is 0.01% and I think it couldnt support 0.5 or 0.1 value in the database.

What can I do instead of editing all the mvp card drop rate?

21 answers to this question

Recommended Posts

Posted (edited)

use the custom drop by Emistry

-	script	Sample	-1,{
function CustomRateCard;

OnNPCKillEvent:
// CustomRateCard( <MobID>,<CardID>,<Rate> );
// Rate : 1 = 0.01%  /  1000 = 10%  /  10000 = 100%

CustomRateCard( 1634,673,1500 );
CustomRateCard( 1635,671,1000 );
CustomRateCard( 1636,673,1500 );
CustomRateCard( 1637,671,1000 );
CustomRateCard( 1638,673,1500 );
CustomRateCard( 1582,4174,500 );
CustomRateCard( 1120,4047,500 );
CustomRateCard( 1096,4054,500 );
CustomRateCard( 1086,4128,1 );
CustomRateCard( 1002,673,300 );
end;

function	CustomRateCard	{
if( killedrid == getarg(0) && rand( 10000 ) <= getarg(2) ){
		getitem getarg(1),1;
		announce "[ "+strcharinfo(0)+" ] get 1 "+getitemname( getarg(1) ),0;
}
return;
}

}

- dont forget this

go to your mob_db.txt

- remove the cards that is drop by the monster.. make it 0,0

Edited by GM Takumirai
Posted

no.

this is a indenpendent script ...@mi wont show the rates.

@mi only read the data inside the mob_db.txt and not other script that related to it.

Posted

This was implemented in rAthena r15521.. =/ Im guessing you're using eAthena or 3CeAM? Or maybe rAthena thats 6 months outdated? o_o

But, with that trac changelog, you can implement it yourself by following the changes and applying it manually into your server.

Posted

I put all cards drop 10000/10000 in the config/battle =100% card drop

now I want to make mvp cards example phreeoni 20% drop

so ill do this ( mob_item_ratio)?

ItemID,Ratio{,MonsterID}

4121,2000,1159

I don't get it much yet, sorry....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...