summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 16:12:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 16:12:44 +0000
commit453c3f1113bbeb874ce305ff3bd44cd1ba6ed520 (patch)
tree2bf77396efdaaa4d86869a55f107052ed1ef074b /src/map/status.c
parentbf0ee54bf17ba1d9d808bbd6e46cfeecc8b05fd0 (diff)
downloadhercules-453c3f1113bbeb874ce305ff3bd44cd1ba6ed520.tar.gz
hercules-453c3f1113bbeb874ce305ff3bd44cd1ba6ed520.tar.bz2
hercules-453c3f1113bbeb874ce305ff3bd44cd1ba6ed520.tar.xz
hercules-453c3f1113bbeb874ce305ff3bd44cd1ba6ed520.zip
- The monsters can level up setting will not take effect when the mob's level is LESS than their db counter-part (should prevent under-leveling causing underflows and semi-immortal mobs)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7005 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index cdf0d5b9a..7975f0a58 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1036,7 +1036,7 @@ int status_calc_mob(struct mob_data* md, int first)
}
//Check if we need custom base-status
- if (battle_config.mobs_level_up && md->level != md->db->lv)
+ if (battle_config.mobs_level_up && md->level > md->db->lv)
flag|=1;
if (md->special_state.size)