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/pc.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/pc.c')
-rw-r--r-- | src/map/pc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index b57ae27d2..549f7678c 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5253,16 +5253,6 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage) status_change_end(&sd->bl, SC_GRAVITATION, -1);
}
}
- if (sd->sc.data[SC_CONFUSION].timer != -1)
- status_change_end(&sd->bl, SC_CONFUSION, -1);
- if (sd->sc.data[SC_TRICKDEAD].timer != -1)
- status_change_end(&sd->bl, SC_TRICKDEAD, -1);
- if (sd->sc.data[SC_HIDING].timer != -1)
- status_change_end(&sd->bl, SC_HIDING, -1);
- if (sd->sc.data[SC_CLOAKING].timer != -1)
- status_change_end(&sd->bl, SC_CLOAKING, -1);
- if (sd->sc.data[SC_CHASEWALK].timer != -1)
- status_change_end(&sd->bl, SC_CHASEWALK, -1);
}
// 演奏/ダンスの中?
|