diff options
author | blackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-11 15:58:40 +0000 |
---|---|---|
committer | blackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-11 15:58:40 +0000 |
commit | 1e844abc3fa269a504ba6610ac83224d9660ce22 (patch) | |
tree | b40b3f9560fe5d089f3e1ca51403db8f2c4f9938 /src/map/battle.c | |
parent | 7732674c21858267c2911415f2e52c36d7f30b1b (diff) | |
download | hercules-1e844abc3fa269a504ba6610ac83224d9660ce22.tar.gz hercules-1e844abc3fa269a504ba6610ac83224d9660ce22.tar.bz2 hercules-1e844abc3fa269a504ba6610ac83224d9660ce22.tar.xz hercules-1e844abc3fa269a504ba6610ac83224d9660ce22.zip |
warpportal(x,y,"tmap",tx,ty) - Creates a skill warp portal on the map. battle_check_target modified to allow NPC-owned skill units to proceed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7612 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index bbe1e8279..25bacc337 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3176,6 +3176,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f } case BL_SKILL: //Skill with no owner? Fishy, but let it through. break; + case BL_NPC: // allows NPC-set skill units to proceed [blackhole89] + break; default: //Invalid source of attack? return 0; } |