diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 07:33:39 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-05-15 07:33:39 +0000 |
commit | 8ea9f3079b7f85ccbd5831870d6d38ef88adfd07 (patch) | |
tree | 1e6312ca2dcc8003051f693fc361f1ca1f05e3a7 /src/map/status.c | |
parent | 5ccb3f48c51beb25cf12898693c06af518de89f1 (diff) | |
download | hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.gz hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.bz2 hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.tar.xz hercules-8ea9f3079b7f85ccbd5831870d6d38ef88adfd07.zip |
Removed the undocumented custom level feature from monster spawn lines (bugreport:3076).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13772 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/status.c b/src/map/status.c index 3199e05f2..7b30ee37a 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1351,7 +1351,6 @@ void status_calc_misc(struct block_list *bl, struct status_data *status, int lev //Skotlex: Calculates the initial status for the given mob //first will only be false when the mob leveled up or got a GuardUp level. -//first&2: Class-change invoked. int status_calc_mob(struct mob_data* md, int first) { struct status_data *status; @@ -1360,10 +1359,7 @@ int status_calc_mob(struct mob_data* md, int first) if(first) { //Set basic level on respawn. - if (md->spawn && !(first&2)) - md->level = md->spawn->level; - else - md->level = md->db->lv; // [Valaris] + md->level = md->db->lv; } //Check if we need custom base-status |