summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-23 01:56:52 +0000
commit0ffe3b7569390da9b2dfa5493b70d363dce2439c (patch)
tree66ce8fcdbc876c914e79639048c8fac3ec665814 /src/map/unit.c
parent021b26b8409a84b4c83eb0cc1eedbd65eedfd4e0 (diff)
downloadhercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.gz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.bz2
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.tar.xz
hercules-0ffe3b7569390da9b2dfa5493b70d363dce2439c.zip
- Changed Preserve's cost to 30sp
- Fixed Arrow Shower, UNT_MAGIC_SKILLS was renamed to UNT_ATTACK_SKILLS - Fixed skill_use_pos checking target tile CELL_CHKNOPASS as invalid instead of CELL_CHKNOREACH git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5708 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 a866cdf9e..c38e7fa6f 100644
--- a/src/map/unit.c
+++ b/src/map/unit.c
@@ -931,7 +931,7 @@ int unit_skilluse_pos2( struct block_list *src, int skill_x, int skill_y, int sk
if (!status_check_skilluse(src, NULL, skill_num, 0))
return 0;
- if (map_getcell(src->m, skill_x, skill_y, CELL_CHKNOPASS))
+ if (map_getcell(src->m, skill_x, skill_y, CELL_CHKNOREACH))
{ //prevent casting ground targeted spells on non-walkable areas. [Skotlex]
if (sd) clif_skill_fail(sd,skill_num,0,0);
return 0;