Jump to content
  • 0

How to edit this?


Question

Posted (edited)

hi guys, can someone explain it to me how to edit this?


{ "item_logarithmic_drops",			 &battle_config.logarithmic_drops,			   0,	  0,	  1,			  },
{ "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,		},

for example

{ "item_drop_common_min",			   &battle_config.item_drop_common_min,			1,	  1,	  10000,		  },

what is 1, 1, 10000. i need to edit this because im setting to drops.conf and the map server have warning and backing to default.

Edited by kaiGAMING

9 answers to this question

Recommended Posts

Posted

{ "item_drop_common_min", &battle_config.item_drop_common_min, 1, 1, 10000, },

change that 10000 to the max value u want , its like integer min value and max value , here min is 1 and max is

10000, change accordingly and compile.

Posted

You're editing the wrong values. You should leave the min and max alone.

Here's an example

item_rate_common: 3000

item_rate_common_boss: 3000

item_drop_common_min: 1

item_drop_common_max: 10000

This would be for a 30x server.

30x is too low, :( and 90x.

Posted

trunk/conf/battle/drops.conf

90x would be ...

// The rate the common items are dropped (Items that are in the ETC tab, besides card)
item_rate_common: 9000
item_rate_common_boss: 9000
item_drop_common_min: 1
item_drop_common_max: 10000

as Ryax said, you can't set the *****_max configs higher than 10000 because 100% is the highest drop chance already.

PS: if you wanted to make every item drop at 100% chance, you could make all the

*****_min configs equal to 10000.

Posted

item_drop_common_min: [value]

item_drop_common_max: [value]

[value] for every _min and _max drop.conf have range between 1 (0.00%) until 10000 (100.00%)

if you set them more than 10000, they will be set to default, 1

{ "item_drop_common_min",     &battle_config.item_drop_common_min,  1,   1,   10000,    },

is

{ [variable_name],     &battle_config.[variable_name],  [default_value],   [min_value],   [max_value],    },

You don't need change the rates here, just need change them on your conf/battle/drop.conf

if you want to super high rate,

maybe the _min you can set for 8000 (every item has drop rate minimum 80%)

and the _max you can set for 10000 (every item has drop rate maximum 100%), they're mean that your server will has drop rate between 80%~100%, and you can try the _common and _boss rate with value that maybe you'd love. haha

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