summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-17 07:38:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-17 07:38:10 +0000
commit6aa1ac3bede23b22ca1a8919818f226225c21165 (patch)
treee136085d0b840eae7d98f1f56862926b2ea93caf /src/map/clif.c
parent2afa19f37c9977e00f4b0b745ea1bc72ef3e5d5a (diff)
downloadhercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.gz
hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.bz2
hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.tar.xz
hercules-6aa1ac3bede23b22ca1a8919818f226225c21165.zip
- Fixed NPC_INVISIBLE's cloak ending after attacking once.
- Fixed SG_FUSION being castable without Soul Link state. - Moved the item-use restriction SC checks from clif.c to pc_use_item, fixed Gravitation blocking potion usage on it's area of effect. - Sphere Marines and Summoned Flora are now inmune to class-changing. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8782 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 366da63df..fe9ae5afb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9285,15 +9285,6 @@ void clif_parse_UseItem(int fd, struct map_session_data *sd) {
if (clif_trading(sd))
return;
- if (sd->sc.count && (
- sd->sc.data[SC_TRICKDEAD].timer != -1 || //死んだふり
- sd->sc.data[SC_BLADESTOP].timer != -1 || //白刃取り
- sd->sc.data[SC_BERSERK].timer!=-1 || //バーサーク
- (sd->sc.data[SC_NOCHAT].timer!=-1 && sd->sc.data[SC_NOCHAT].val1&MANNER_NOITEM) ||
- sd->sc.data[SC_GRAVITATION].timer!=-1 //会話禁止
- ))
- return;
-
if (sd->invincible_timer != -1)
pc_delinvincibletimer(sd);