summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 16:27:21 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-02 16:27:21 +0000
commit8595b89738a9446c330d7e5d31e93080e2a87246 (patch)
tree133fd6f62af6de207f8ec883ec3480d215ec0e5a /src/map/mob.c
parentd82ffd209180df707c4669f05928a837093d557d (diff)
downloadhercules-8595b89738a9446c330d7e5d31e93080e2a87246.tar.gz
hercules-8595b89738a9446c330d7e5d31e93080e2a87246.tar.bz2
hercules-8595b89738a9446c330d7e5d31e93080e2a87246.tar.xz
hercules-8595b89738a9446c330d7e5d31e93080e2a87246.zip
- Moved setting a mob's level from mob_spawn to status_calc_mob, resetting their level on death has also been removed (as it is handled now on spawn)
- Fixed a bug in status_revive - Updated Holy Cross, Investigate and Finger Offensive to be usable by all weapons. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6938 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index f1a4f9f82..c18f83b66 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -665,9 +665,6 @@ int mob_spawn (struct mob_data *md)
md->target_id = 0;
md->move_fail_count = 0;
- if (!md->level) // [Valaris]
- md->level=md->db->lv;
-
// md->master_id = 0;
md->master_dist = 0;
@@ -2124,7 +2121,6 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(mvp_sd->state.event_kill_mob)
npc_script_event(mvp_sd, NPCE_KILLNPC); // PCKillNPC [Lance]
}
- if(md->level) md->level=0;
if(md->deletetimer!=-1) {
delete_timer(md->deletetimer,mob_timer_delete);