summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-02 14:31:16 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-02 14:31:16 +0000
commit103ca6312d0d252b5a8a05eefa78034ad341fe6e (patch)
tree87f499d9a38013a223fa4005719b4d52d6ab4e9b /src/map/pc.c
parentbc3119af6271425b6d1579e10ff3d64478467a06 (diff)
downloadhercules-103ca6312d0d252b5a8a05eefa78034ad341fe6e.tar.gz
hercules-103ca6312d0d252b5a8a05eefa78034ad341fe6e.tar.bz2
hercules-103ca6312d0d252b5a8a05eefa78034ad341fe6e.tar.xz
hercules-103ca6312d0d252b5a8a05eefa78034ad341fe6e.zip
Fixed bugreport:6324 where re-spawning mob still hits/chases its previous attacker.
Partial fixed bugreport:6396 where Chemical Protection skills doesn't check targets current equipments. Finally added almost all Kagerou/Oboro skills only one more left..phew...:D (KG_KAGEHUMI,KG_KYOMU,KG_KAGEMUSYA,OB_ZANGETSU,OB_OBOROGENSOU,OB_OBOROGENSOU_TRANSITION_ATK,OB_AKAITSUKI) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16560 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index d7cfe66e1..e3c7840ef 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4120,6 +4120,7 @@ int pc_useitem(struct map_session_data *sd,int n)
sd->sc.data[SC_TRICKDEAD] ||
sd->sc.data[SC_HIDING] ||
sd->sc.data[SC__SHADOWFORM] ||
+ sd->sc.data[SC_KAGEHUMI] ||
(sd->sc.data[SC_NOCHAT] && sd->sc.data[SC_NOCHAT]->val1&MANNER_NOITEM)
))
return 0;