summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-09 17:26:55 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-09 17:26:55 +0000
commit3a562499db31496d4595910760560743d55b478f (patch)
tree21fadbbf4e85cbfde48fbeac30b76171a3ebbef5 /src/map/battle.c
parent97ef7dfb68da9a3abccb78add4666c648c668884 (diff)
downloadhercules-3a562499db31496d4595910760560743d55b478f.tar.gz
hercules-3a562499db31496d4595910760560743d55b478f.tar.bz2
hercules-3a562499db31496d4595910760560743d55b478f.tar.xz
hercules-3a562499db31496d4595910760560743d55b478f.zip
- Added setting max_exp_gain_rate which caps how much exp you can get from a single kill.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5239 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 354dc0d88..09b8d7439 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3752,6 +3752,7 @@ static const struct battle_data_short {
{ "manner_system", &battle_config.manner_system }, // [Komurka]
{ "pet_equip_required", &battle_config.pet_equip_required }, // [Valaris]
{ "multi_level_up", &battle_config.multi_level_up }, // [Valaris]
+ { "max_exp_gain_rate", &battle_config.max_exp_gain_rate }, // [Skotlex]
{ "backstab_bow_penalty", &battle_config.backstab_bow_penalty },
{ "night_at_start", &battle_config.night_at_start }, // added by [Yor]
{ "show_mob_hp", &battle_config.show_mob_hp }, // [Valaris]
@@ -4139,6 +4140,7 @@ void battle_set_defaults() {
battle_config.manner_system = 1; // [Valaris]
battle_config.pet_equip_required = 0; // [Valaris]
battle_config.multi_level_up = 0; // [Valaris]
+ battle_config.max_exp_gain_rate = 0; // [Skotlex]
battle_config.backstab_bow_penalty = 0; // Akaru
battle_config.night_at_start = 0; // added by [Yor]
battle_config.day_duration = 2*60*60*1000; // added by [Yor] (2 hours)