summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 20:34:06 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 20:34:06 +0000
commit2a0f10a6f77e1df9490f0181fb84f91e7591c412 (patch)
treec5d4088747df422a843d001525bbaee9fbbad459 /src/map/battle.c
parentb1cb80992092152a1fe459f4a3ac24c5c41940bc (diff)
downloadhercules-2a0f10a6f77e1df9490f0181fb84f91e7591c412.tar.gz
hercules-2a0f10a6f77e1df9490f0181fb84f91e7591c412.tar.bz2
hercules-2a0f10a6f77e1df9490f0181fb84f91e7591c412.tar.xz
hercules-2a0f10a6f77e1df9490f0181fb84f91e7591c412.zip
- 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
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
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]