From 2a0f10a6f77e1df9490f0181fb84f91e7591c412 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 20 Jul 2006 20:34:06 +0000 Subject: - Corrected Cloaking level 1-2 not letting you move across walls. - updated cloaking code so that when you set "enable cloaking without walls", the code will consider you as "always next to a wall", thus you get the wall-speed bonus always. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7778 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 22d850132..484c65b01 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2817,7 +2817,7 @@ int battle_weapon_attack( struct block_list *src,struct block_list *target, } } - if (sc && sc->data[SC_CLOAKING].timer != -1 && !(sc->data[SC_CLOAKING].val4&1)) + if (sc && sc->data[SC_CLOAKING].timer != -1 && !(sc->data[SC_CLOAKING].val4&2)) status_change_end(src,SC_CLOAKING,-1); //Check for counter attacks that block your attack. [Skotlex] -- cgit v1.2.3-70-g09d2