summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-23 22:49:21 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-23 22:49:21 +0000
commitad81f62be42d1f1e6ef14266d442603a68714c94 (patch)
tree7a735f6d862e73fab565c6f7468ff49f06391fe4 /src/map/battle.c
parent125ff2ca6b79b278576f7ddbbd6ac99526b7a852 (diff)
downloadhercules-ad81f62be42d1f1e6ef14266d442603a68714c94.tar.gz
hercules-ad81f62be42d1f1e6ef14266d442603a68714c94.tar.bz2
hercules-ad81f62be42d1f1e6ef14266d442603a68714c94.tar.xz
hercules-ad81f62be42d1f1e6ef14266d442603a68714c94.zip
mob db exp reading fix
mobs item drops rate fix mob spawn once shows normal log git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1170 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 605fd30e0..f58151f3d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4122,19 +4122,6 @@ static const struct {
{ "gm_can_drop_lv", &battle_config.gm_can_drop_lv },
{ "disp_hpmeter", &battle_config.disp_hpmeter },
{ "bone_drop", &battle_config.bone_drop },
- { "item_rate_details", &battle_config.item_rate_details },
- { "item_rate_1", &battle_config.item_rate_1 },
- { "item_rate_10", &battle_config.item_rate_10 },
- { "item_rate_100", &battle_config.item_rate_100 },
- { "item_rate_1000", &battle_config.item_rate_1000 },
- { "item_rate_1_min", &battle_config.item_rate_1_min },
- { "item_rate_1_max", &battle_config.item_rate_1_max },
- { "item_rate_10_min", &battle_config.item_rate_10_min },
- { "item_rate_10_max", &battle_config.item_rate_10_max },
- { "item_rate_100_min", &battle_config.item_rate_100_min },
- { "item_rate_100_max", &battle_config.item_rate_100_max },
- { "item_rate_1000_min", &battle_config.item_rate_1000_min },
- { "item_rate_1000_max", &battle_config.item_rate_1000_max },
{ "item_rate_common", &battle_config.item_rate_common }, // Added by RoVeRT
{ "item_rate_equip", &battle_config.item_rate_equip },
{ "item_rate_card", &battle_config.item_rate_card }, // End Addition
@@ -4382,19 +4369,6 @@ void battle_set_defaults() {
battle_config.gm_can_drop_lv = 0;
battle_config.disp_hpmeter = 0;
battle_config.bone_drop = 0;
- battle_config.item_rate_details = 0;
- battle_config.item_rate_1 = 100;
- battle_config.item_rate_10 = 100;
- battle_config.item_rate_100 = 100;
- battle_config.item_rate_1000 = 100;
- battle_config.item_rate_1_min = 1;
- battle_config.item_rate_1_max = 9;
- battle_config.item_rate_10_min = 10;
- battle_config.item_rate_10_max = 99;
- battle_config.item_rate_100_min = 100;
- battle_config.item_rate_100_max = 999;
- battle_config.item_rate_1000_min = 1000;
- battle_config.item_rate_1000_max = 10000;
battle_config.item_rate_common = 100;
battle_config.item_rate_equip = 100;
battle_config.item_rate_card = 100;
@@ -4605,7 +4579,7 @@ int battle_config_read(const char *cfgName)
fp = fopen(cfgName,"r");
if (fp == NULL) {
- printf("file not found: %s\n", cfgName);
+ printf("File not found: %s\n", cfgName);
return 1;
}
while(fgets(line,1020,fp)){