Jump to content
  • 0

How to edit drop rates in scr


simpletempleton

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  09/20/13
  • Last Seen:  

Hi! is there any ways on editing the drop rate in src? I want to make it 100% drop rate.

I'll just adjust the other items drop rates.

Because the maximum drop is only 50%

On the link that I found, I should edit mob_db.txt and edit every single item drop of the monster.

 

This is an example of scr in eathena battle.c

{ "item_drop_common_min",			   &battle_config.item_drop_common_min,		    1,	  1,	  10000,		  },
{ "item_drop_common_max",			   &battle_config.item_drop_common_max,		    10000,  1,	  10000,		  },
{ "item_drop_equip_min",			    &battle_config.item_drop_equip_min,			 1,	  1,	  10000,		  },
{ "item_drop_equip_max",			    &battle_config.item_drop_equip_max,			 10000,  1,	  10000,		  },
{ "item_drop_card_min",				 &battle_config.item_drop_card_min,			  1,	  1,	  10000,		  },
{ "item_drop_card_max",				 &battle_config.item_drop_card_max,			  10000,  1,	  10000,		  },
{ "item_drop_mvp_min",				  &battle_config.item_drop_mvp_min,			   1,	  1,	  10000,		  },
{ "item_drop_mvp_max",				  &battle_config.item_drop_mvp_max,			   10000,  1,	  10000,		  },
{ "item_drop_heal_min",				 &battle_config.item_drop_heal_min,			  1,	  1,	  10000,		  },
{ "item_drop_heal_max",				 &battle_config.item_drop_heal_max,			  10000,  1,	  10000,		  },
{ "item_drop_use_min",				  &battle_config.item_drop_use_min,			   1,	  1,	  10000,		  },
{ "item_drop_use_max",				  &battle_config.item_drop_use_max,			   10000,  1,	  10000,		  },
{ "item_drop_add_min",				  &battle_config.item_drop_adddrop_min,		   1,	  1,	  10000,		  },
{ "item_drop_add_max",				  &battle_config.item_drop_adddrop_max,		   10000,  1,	  10000,		  },
{ "item_drop_treasure_min",			 &battle_config.item_drop_treasure_min,		  1,	  1,	  10000,		  },
{ "item_drop_treasure_max",			 &battle_config.item_drop_treasure_max,		  10000,  1,	  10000,		  },
{ "item_rate_mvp",					  &battle_config.item_rate_mvp,				   100,    0,	  1000000,	    },
{ "item_rate_common",				   &battle_config.item_rate_common,			    100,    0,	  1000000,	    },
{ "item_rate_common_boss",			  &battle_config.item_rate_common_boss,		   100,    0,	  1000000,	    },
{ "item_rate_equip",				    &battle_config.item_rate_equip,				 100,    0,	  1000000,	    },
{ "item_rate_equip_boss",			   &battle_config.item_rate_equip_boss,		    100,    0,	  1000000,	    },
{ "item_rate_card",					 &battle_config.item_rate_card,				  100,    0,	  1000000,	    },
{ "item_rate_card_boss",			    &battle_config.item_rate_card_boss,			 100,    0,	  1000000,	    },
{ "item_rate_heal",					 &battle_config.item_rate_heal,				  100,    0,	  1000000,	    },
{ "item_rate_heal_boss",			    &battle_config.item_rate_heal_boss,			 100,    0,	  1000000,	    },
{ "item_rate_use",					  &battle_config.item_rate_use,				   100,    0,	  1000000,	    },
{ "item_rate_use_boss",				 &battle_config.item_rate_use_boss,			  100,    0,	  1000000,	    },
{ "item_rate_adddrop",				  &battle_config.item_rate_adddrop,			   100,    0,	  1000000,	    },
{ "item_rate_treasure",				 &battle_config.item_rate_treasure,			  100,    0,	  1000000,	    },

 

 

{ "base_exp_rate",					  &battle_config.base_exp_rate,				   100,    0,	  INT_MAX,	    },
{ "job_exp_rate",					   &battle_config.job_exp_rate,				    100,    0,	  INT_MAX,	    },

 

I hope someone will help me..

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

Not required edit it from src, you can do it at conf/battle/drop.conf and put all 100% and done.

 

If you dont know C++ dont edit SRC  if not required.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  09/20/13
  • Last Seen:  

So it means that the only option to have 100% drop rate is to edit mob_db.txt? Because if you're gonna use the drop conf. the maximum drop rate will be 50%.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/15/13
  • Last Seen:  

You can modify the item itself to it has 100% rate no matter the Drop Rate of the server(except *0)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Because the maximum drop is only 50%

disable renewal drop rate...

src/config/renewal.h#L33

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  09/20/13
  • Last Seen:  

 

Because the maximum drop is only 50%

disable renewal drop rate...

src/config/renewal.h#L33

 

Hi  E M I S T R Y,

What will happen if I disable the renewal system? Will it make the droprate 100%?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

renewal drop rate adjust the droprate of monster based on player's level and monster's level gap.

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...