Jump to content
  • 0

Addtional Drop for MVP


myserver

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   0
  • Joined:  08/27/18
  • Last Seen:  

is a posible to add a item for drop of mvp or monster

MVP monster add item for drop and drop rate.

like this mistress(id),Poring Coin(item for drop),and 5% for droprate.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

31 minutes ago, Jard said:

is a posible to add a item for drop of mvp or monster

MVP monster add item for drop and drop rate.

like this mistress(id),Poring Coin(item for drop),and 5% for droprate.

https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6259

Make an npc with the OnInit: Tag and use that command or just add it in the database.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  45
  • Reputation:   0
  • Joined:  08/27/18
  • Last Seen:  

i saw somethine like my post. but is not working.

-    script    Sample    -1,{

function    CustomRateCard;

OnNPCKillEvent:

// CustomRateCard( <M?obID>,<CardID>,<Rate> );

// Rate : 1 = 0.01% / 1000 = 10% / 10000 = 100%

CustomRateCard( 1115,7941,500 ); // Edga

CustomRateCard( 1059,7941,500 ); // Mistress

CustomRateCard( 1150,7941,500 ); // Moonlight

CustomRateCard( 1147,7941,500 ); // Maya

CustomRateCard( 1159,7941,500 ); // Phreeoni

CustomRateCard( 1312,7941,500 ); // Turtle General

CustomRateCard( 1087,7941,500 ); // Orc Hero

CustomRateCard( 1190,7941,500 ); // Orc Lord

CustomRateCard( 1112,7941,500 ); // Drake

CustomRateCard( 1038,7941,500 ); // Osiris

CustomRateCard( 1046,7941,500 ); // Doppelganger

CustomRateCard( 1373,7941,500 ); // Lord of Death

CustomRateCard( 1492,7941,500 ); // Incantation Samurai

CustomRateCard( 1157,7941,500 ); // Pharoh

CustomRateCard( 1272,7941,500 ); // Dark Lord

CustomRateCard( 1039,7941,500 ); // Baphomet


end;

function    CustomRateCard    {

if( killedrid == getarg(0) && rand( 10000 ) <= getarg(2) ){

getitem getarg(1),1;

}

return;

}

}

 

Edited by Skorm
Added code box.
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

No.

Link to comment
Share on other sites

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.

×
×
  • Create New...