diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 16:54:36 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 16:54:36 +0000 |
commit | 3d6011c46f2f556aa0b9ad41c9e6139ba687e90d (patch) | |
tree | d9e48e7cf18157e39b541d3232806c58d488642e /src/map/mob.c | |
parent | 52db25907d75f8d9d9eb914e794f8622c5f540b9 (diff) | |
download | hercules-3d6011c46f2f556aa0b9ad41c9e6139ba687e90d.tar.gz hercules-3d6011c46f2f556aa0b9ad41c9e6139ba687e90d.tar.bz2 hercules-3d6011c46f2f556aa0b9ad41c9e6139ba687e90d.tar.xz hercules-3d6011c46f2f556aa0b9ad41c9e6139ba687e90d.zip |
- Moved a bunch of sc_effects that should be cancelled on hit from mob_damage/pc_damage to battle_damage.
- Changed ITEM_NAME_LENGTH to 50.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5533 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 5a0b7d422..2b267f201 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2308,15 +2308,6 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type) return 0;
}
- if(md->sc.count) {
- if(md->sc.data[SC_CONFUSION].timer != -1)
- status_change_end(&md->bl, SC_CONFUSION, -1);
- if(md->sc.data[SC_HIDING].timer != -1)
- status_change_end(&md->bl, SC_HIDING, -1);
- if(md->sc.data[SC_CLOAKING].timer != -1)
- status_change_end(&md->bl, SC_CLOAKING, -1);
- }
-
if(damage > max_hp>>2)
skill_stop_dancing(&md->bl);
|