From c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 15 Aug 2007 17:13:04 +0000 Subject: * Some serious code cleanups - adjusted @reloadbattleconf to not depend on variable ordering - changed all battle vars to 'int' (removes pointless duplicit coding) - added min, max and default columns to battle config data structure - added properly bounded values for these columns (or at least tried to) - battle-conf loading will now complain if it finds unknown settings, and will reject values that are outside of the allowed range - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE - partially cleaned up chatroom manipulation code * Fixed 'Job_Professer' typo in mage jobchange quest git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11017 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/battle/exp.conf | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'conf-tmpl/battle/exp.conf') diff --git a/conf-tmpl/battle/exp.conf b/conf-tmpl/battle/exp.conf index 1d10156c8..7a9fa6ae0 100644 --- a/conf-tmpl/battle/exp.conf +++ b/conf-tmpl/battle/exp.conf @@ -17,19 +17,14 @@ //-------------------------------------------------------------- // Note 1: Value is a config switch (on/off, yes/no or 1/0) // Note 2: Value is in percents (100 means 100%) -// Note 3: Value is not limited to 60k (see below) -// Note 4: The max level of classes is stored in the exp table. +// Note 3: The max level of classes is stored in the exp table. // See files db/exp.txt and db/exp2.txt to change them. -// Other Information: -// All values are limited to a number between 0 and 60k -// (60000, 600%, 60secs, ...), unless otherwise specified. -//-------------------------------------------------------------- //-------------------------------------------------------------- -// Rate at which exp. is given. (Note 2) (Note 3) +// Rate at which exp. is given. (Note 2) base_exp_rate: 100 -// Rate at which job exp. is given. (Note 2) (Note 3) +// Rate at which job exp. is given. (Note 2) job_exp_rate: 100 // Turn this on to allow a player to level up more than once from a kill. (Note 1) @@ -57,7 +52,7 @@ exp_bonus_attacker: 25 // (eg: if set at 5, the max bonus is 4*bonus-per-char regardless of attackers) exp_bonus_max_attacker: 12 -// MVP bonus exp rate. (Note 2) (Note 3) +// MVP bonus exp rate. (Note 2) mvp_exp_rate: 100 // The rate of job exp. from using Heal skill (100 is the same as the heal amount, 200 is double. @@ -89,7 +84,7 @@ death_penalty_base: 100 // Job exp. penalty rate (Each 100 is 1% of their exp) death_penalty_job: 100 -// When a player dies, how much zeny should we penalize them with? (Note 3) +// When a player dies, how much zeny should we penalize them with? // NOTE: It is a percentage of their zeny, so 100 = 1% zeny_penalty: 0 -- cgit v1.2.3-60-g2f50