From 55d19e55980660eb0b36edbae55a5cd1c8cc3a38 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 18 May 2006 17:49:15 +0000 Subject: [PATCH] - Fixed mob_max_skilllvl being capped to 11! git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6643 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/battle.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 6afa712051..097fe016f5 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2006/05/18 + * Fixed mob_max_skilllvl being capped to 11! [Skotlex] * Rewrote/cleaned up several functions in storage.c [Skotlex] * Optimized pc_additem comparisons to account for items with more than four slots. [Skotlex] diff --git a/src/map/battle.c b/src/map/battle.c index c155aed116..6dc56eacec 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;