summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-13 17:17:50 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-13 17:17:50 +0000
commitf1db80c07bb24a810cfd877ba424dc33d70efd42 (patch)
tree431038296c9e70880b7e5807cca96558db06a838 /src/map/skill.c
parentd5ecb1d8c1c0b82d4f85e8cafaecb078d5860dd7 (diff)
downloadhercules-f1db80c07bb24a810cfd877ba424dc33d70efd42.tar.gz
hercules-f1db80c07bb24a810cfd877ba424dc33d70efd42.tar.bz2
hercules-f1db80c07bb24a810cfd877ba424dc33d70efd42.tar.xz
hercules-f1db80c07bb24a810cfd877ba424dc33d70efd42.zip
Fixed bugreport:6493 Genwaku no longer works on npcs and on gvg maps (since push/knockback is also disabled on gvg)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16818 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1ff9edf3e..47f01adc1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8752,7 +8752,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
break;
case KO_GENWAKU:
- {
+ if ( !map_flag_gvg(src->m) && ( dstsd || dstmd ) && battle_check_target(src,bl,BCT_ENEMY) > 0 ) {
int x = src->x, y = src->y;
if (unit_movepos(src,bl->x,bl->y,0,0)) {
clif_skill_nodamage(src,src,skillid,skilllv,1);