diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-18 02:18:40 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-18 02:18:40 +0000 |
commit | ba450a6e6856b2e2cf3f3590a43907f0d80f1d17 (patch) | |
tree | b218fdbc19396ff5980a9eb27be7734742e61e4b /src/map/skill.c | |
parent | 237951bb0f15b09622d0a9cf1a248f1e38123d50 (diff) | |
download | hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.gz hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.bz2 hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.tar.xz hercules-ba450a6e6856b2e2cf3f3590a43907f0d80f1d17.zip |
* Dead branches no longer check for players' level. (bugreport:3378)
* The Lovers Card won't teleport anyone on PVP/WoE/BG maps. (bugreport:3371)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13952 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 7d82e032c..aebfc9eee 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5332,7 +5332,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in break; case 5: // 2000HP heal, random teleported status_heal(bl, 2000, 0, 0); - unit_warp(bl, -1,-1,-1, 3); + if( !map_flag_vs(bl->m) ) + unit_warp(bl, -1,-1,-1, 3); break; case 6: // random 2 other effects if (count == -1) |