summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-14 17:33:21 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-06-14 17:33:21 +0000
commitc07a09726d9e94d75786192fc671cde81dc73176 (patch)
tree8cf57867e258ba4d4c1fbfff8c55d0af760b1a1e /src/map/unit.c
parent7167494574430bdaa1fe7fa13d106e2eabbf0f08 (diff)
downloadhercules-c07a09726d9e94d75786192fc671cde81dc73176.tar.gz
hercules-c07a09726d9e94d75786192fc671cde81dc73176.tar.bz2
hercules-c07a09726d9e94d75786192fc671cde81dc73176.tar.xz
hercules-c07a09726d9e94d75786192fc671cde81dc73176.zip
Fixed bugreport:5954 SC_SHADOWFORM Can now be canceled with detecting skills which is check in every 2 seconds.
Fixed bugreport:6010 AB_EXPIATIO now give a piercing damage bonus. Fixed Diamond/Crystallize status to work only to non mob target and its official behavior(bugreport:5893) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16296 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 71baef598..c955fa686 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -889,7 +889,7 @@ int unit_can_move(struct block_list *bl)
if( sc->cant.move || (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0) )
return 0;
- if (sc->opt1 > 0 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING)
+ if (sc->opt1 > 0 && sc->opt1 != OPT1_STONEWAIT && sc->opt1 != OPT1_BURNING && (sc->opt1 != OPT1_CRYSTALIZE && bl->type != BL_MOB))
return 0;
if ((sc->option & OPTION_HIDE) && (!sd || pc_checkskill(sd, RG_TUNNELDRIVE) <= 0))