summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-21 14:25:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-21 14:25:09 +0000
commita4056b02c3090cec0d7d3d7a415282d8d2e644d3 (patch)
tree7e8a4c9cb2d018d42577f0275ebcd61bdd2bb8d0
parent7aeff6b2b502ac57f0a9e2c37eaabb11307903e7 (diff)
downloadhercules-a4056b02c3090cec0d7d3d7a415282d8d2e644d3.tar.gz
hercules-a4056b02c3090cec0d7d3d7a415282d8d2e644d3.tar.bz2
hercules-a4056b02c3090cec0d7d3d7a415282d8d2e644d3.tar.xz
hercules-a4056b02c3090cec0d7d3d7a415282d8d2e644d3.zip
Corrected item drop rate limits to allow full 0.01%-100% range (fixes mistake from r11043)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11059 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/battle.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index df6b7866e..93e2e98fb 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3571,19 +3571,19 @@ static const struct _battle_data {
{ "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, 10000, },
- { "item_rate_common", &battle_config.item_rate_common, 100, 0, 10000, },
- { "item_rate_common_boss", &battle_config.item_rate_common_boss, 100, 0, 10000, },
- { "item_rate_equip", &battle_config.item_rate_equip, 100, 0, 10000, },
- { "item_rate_equip_boss", &battle_config.item_rate_equip_boss, 100, 0, 10000, },
- { "item_rate_card", &battle_config.item_rate_card, 100, 0, 10000, },
- { "item_rate_card_boss", &battle_config.item_rate_card_boss, 100, 0, 10000, },
- { "item_rate_heal", &battle_config.item_rate_heal, 100, 0, 10000, },
- { "item_rate_heal_boss", &battle_config.item_rate_heal_boss, 100, 0, 10000, },
- { "item_rate_use", &battle_config.item_rate_use, 100, 0, 10000, },
- { "item_rate_use_boss", &battle_config.item_rate_use_boss, 100, 0, 10000, },
- { "item_rate_adddrop", &battle_config.item_rate_adddrop, 100, 0, 10000, },
- { "item_rate_treasure", &battle_config.item_rate_treasure, 100, 0, 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, },
{ "prevent_logout", &battle_config.prevent_logout, 10000, 0, 60000, },
{ "alchemist_summon_reward", &battle_config.alchemist_summon_reward, 1, 0, 2, },
{ "drops_by_luk", &battle_config.drops_by_luk, 0, 0, INT_MAX, },