summaryrefslogtreecommitdiff
path: root/conf-tmpl/battle/misc.conf
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-15 17:13:04 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-15 17:13:04 +0000
commitc25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead (patch)
treeb55395038c48dc99235e7385fbd43df5645e464a /conf-tmpl/battle/misc.conf
parent86b35597e549392cf2db3974fc140a50e021b5a0 (diff)
downloadhercules-c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead.tar.gz
hercules-c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead.tar.bz2
hercules-c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead.tar.xz
hercules-c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead.zip
* 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
Diffstat (limited to 'conf-tmpl/battle/misc.conf')
-rw-r--r--conf-tmpl/battle/misc.conf14
1 files changed, 5 insertions, 9 deletions
diff --git a/conf-tmpl/battle/misc.conf b/conf-tmpl/battle/misc.conf
index e58378bcb..3fa7b34e6 100644
--- a/conf-tmpl/battle/misc.conf
+++ b/conf-tmpl/battle/misc.conf
@@ -17,12 +17,8 @@
//--------------------------------------------------------------
// 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: Value is a bit field. If no description is given,
+// Note 3: Value is a bit field. If no description is given,
// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun)
-// Other Information:
-// All values are limited to a number between 0 and 60k
-// (60000, 600%, 60secs, ...), unless otherwise specified.
//--------------------------------------------------------------
// PK Server Mode. Turns entire server pvp(excluding towns). Experience loss is doubled if killed by another player.
@@ -59,8 +55,8 @@ pk_weapon_attack_damage_rate: 60
pk_magic_attack_damage_rate: 60
pk_misc_attack_damage_rate: 60
-// Display skill usage/errors in console? (for debug only) (default: off) (Note 4)
-skill_log: 0
+// Display skill usage/errors in console? (for debug only) (default: off) (Note 3)
+skill_log: off
// Display battle log? (for debug only) (default: off) (Note 1)
battle_log: off
@@ -84,12 +80,12 @@ night_at_start: no
// Define duration in msec of the day (default: 7200000 = 2 hours)
// Set to 0 to disable day cycle (but not @day GM command).
-// Except 0, minimum is 60000 (1 minute) (Note 3)
+// Except 0, minimum is 60000 (1 minute)
day_duration: 0
// Define duration in msec of the night (default: 1800000 = 30 min)
// Set to 0 to disable night cycle (but not @night GM command).
-// Except 0, minimum is 60000 (1 minute) (Note 3)
+// Except 0, minimum is 60000 (1 minute)
night_duration: 0
// Using duel on pvp-maps