summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 14:33:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-18 14:33:52 +0000
commit6713158b3247af09d6bf036028d94baf1e715525 (patch)
tree45a39cd1e04bc80742a40410d3065bae7cfb86d7 /src/map/unit.c
parentea64ed822782ca2e9f2dadf954a85da6d559ed54 (diff)
downloadhercules-6713158b3247af09d6bf036028d94baf1e715525.tar.gz
hercules-6713158b3247af09d6bf036028d94baf1e715525.tar.bz2
hercules-6713158b3247af09d6bf036028d94baf1e715525.tar.xz
hercules-6713158b3247af09d6bf036028d94baf1e715525.zip
- Corrected Venom splasher's splash damage
- You now can't move/attack/use-skills when using Cloaking of a level less than 3 - Fixed compilation of mercenary.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7729 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c
index bf2091ff6..ebdab76a3 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -667,7 +667,8 @@ int unit_can_move(struct block_list *bl)
(sc->data[SC_GOSPEL].timer !=-1 && sc->data[SC_GOSPEL].val4 == BCT_SELF) || // cannot move while gospel is in effect
sc->data[SC_STOP].timer != -1 ||
sc->data[SC_CLOSECONFINE].timer != -1 ||
- sc->data[SC_CLOSECONFINE2].timer != -1
+ sc->data[SC_CLOSECONFINE2].timer != -1 ||
+ (sc->data[SC_CLOAKING].timer != -1 && sc->data[SC_CLOAKING].val1 < 3)
))
return 0;
}