summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-18 17:49:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-18 17:49:15 +0000
commitaa934a7bb6f0910b9edb53e4c711e2af97bbaf4e (patch)
treee2b461b3580d9383cd2a3180b21915475db70781 /src/map/battle.c
parent3c0bb6cec420f251ffbc45eaf9196e11fc72dfa1 (diff)
downloadhercules-aa934a7bb6f0910b9edb53e4c711e2af97bbaf4e.tar.gz
hercules-aa934a7bb6f0910b9edb53e4c711e2af97bbaf4e.tar.bz2
hercules-aa934a7bb6f0910b9edb53e4c711e2af97bbaf4e.tar.xz
hercules-aa934a7bb6f0910b9edb53e4c711e2af97bbaf4e.zip
- Fixed mob_max_skilllvl being capped to 11!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6643 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c155aed11..6dc56eace 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4467,8 +4467,8 @@ void battle_validate_conf() {
battle_config.mob_remove_delay = 15000;
if (battle_config.dynamic_mobs > 1)
battle_config.dynamic_mobs = 1; //The flag will be used in assignations
- if (battle_config.mob_max_skilllvl> 11 || battle_config.mob_max_skilllvl<1 )
- battle_config.mob_max_skilllvl = 11;
+ if (battle_config.mob_max_skilllvl> MAX_SKILL_LEVEL || battle_config.mob_max_skilllvl<1 )
+ battle_config.mob_max_skilllvl = MAX_SKILL_LEVEL;
if (battle_config.firewall_hits_on_undead < 1)
battle_config.firewall_hits_on_undead = 1;