diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-23 22:49:21 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-02-23 22:49:21 +0000 |
commit | ad81f62be42d1f1e6ef14266d442603a68714c94 (patch) | |
tree | 7a735f6d862e73fab565c6f7468ff49f06391fe4 /src/map/battle.c | |
parent | 125ff2ca6b79b278576f7ddbbd6ac99526b7a852 (diff) | |
download | hercules-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.c | 28 |
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)){ |