summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-02 20:58:32 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:21:50 +0200
commitdad2f5b2ec24745287db1b068021ce6d859510b1 (patch)
treebf4ac198c6c6c1edc3fa659ac9c441d13201952c /src/map/unit.c
parent95915440c030610068bf87ed583ee595bba1a836 (diff)
downloadhercules-dad2f5b2ec24745287db1b068021ce6d859510b1.tar.gz
hercules-dad2f5b2ec24745287db1b068021ce6d859510b1.tar.bz2
hercules-dad2f5b2ec24745287db1b068021ce6d859510b1.tar.xz
hercules-dad2f5b2ec24745287db1b068021ce6d859510b1.zip
Implemented SU_HIDE Skill.
Transforms into Bush.
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index 5364a9547..bb43bdf82 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -1127,6 +1127,7 @@ int unit_can_move(struct block_list *bl)
|| sc->data[SC_VACUUM_EXTREME]
|| (sc->data[SC_FEAR] && sc->data[SC_FEAR]->val2 > 0)
|| sc->data[SC_NETHERWORLD]
+ || sc->data[SC_SUHIDE]
|| (sc->data[SC_SPIDERWEB] && sc->data[SC_SPIDERWEB]->val1)
|| (sc->data[SC_CLOAKING] && sc->data[SC_CLOAKING]->val1 < 3 && !(sc->data[SC_CLOAKING]->val4&1)) //Need wall at level 1-2
|| (
@@ -2464,6 +2465,7 @@ int unit_remove_map(struct block_list *bl, clr_type clrtype, const char* file, i
status_change_end(bl, SC_VACUUM_EXTREME, INVALID_TIMER);
status_change_end(bl, SC_CURSEDCIRCLE_ATKER, INVALID_TIMER); //callme before warp
status_change_end(bl, SC_NETHERWORLD, INVALID_TIMER);
+ status_change_end(bl, SC_SUHIDE, INVALID_TIMER);
}
if (bl->type&(BL_CHAR|BL_PET)) {