summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-22 09:47:14 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-22 09:47:14 +0000
commitf17d2bce48c612644e5621b0303f983bedbc26d7 (patch)
treee835feb99cde9d4ce87ada0cb6a87dbd5c50e021 /src/map/skill.c
parent8b8f847bb862c2cfa31557fb54d81e3e7b5c6be4 (diff)
downloadhercules-f17d2bce48c612644e5621b0303f983bedbc26d7.tar.gz
hercules-f17d2bce48c612644e5621b0303f983bedbc26d7.tar.bz2
hercules-f17d2bce48c612644e5621b0303f983bedbc26d7.tar.xz
hercules-f17d2bce48c612644e5621b0303f983bedbc26d7.zip
Fixed bugreport:5604 Firewalk and Electric Walk now function properly.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15917 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index dbd1d4fcc..0b608805f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3827,11 +3827,11 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
for( y = src->y - range; y <= src->y + range; ++y )
for( x = src->x - range; x <= src->x + range; ++x )
{
- if( !map_find_skill_unit_oncell(src,x,y,SA_LANDPROTECTOR,NULL) )
+ if( !map_find_skill_unit_oncell(src,x,y,SA_LANDPROTECTOR,NULL,1) )
{
if( src->type != BL_PC || map_getcell(src->m,x,y,CELL_CHKWATER) ) // non-players bypass the water requirement
count++; // natural water cell
- else if( (unit = map_find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL)) != NULL || (unit = map_find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL)) != NULL )
+ else if( (unit = map_find_skill_unit_oncell(src,x,y,SA_DELUGE,NULL,1)) != NULL || (unit = map_find_skill_unit_oncell(src,x,y,NJ_SUITON,NULL,1)) != NULL )
{
count++; // skill-induced water cell
skill_delunit(unit); // consume cell