From 8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 15 Dec 2011 06:54:26 +0000 Subject: Added new skill inf: INF2_NOLP, for bugreport:4347. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15132 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- src/map/skill.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index 51f9c46b9..0a7ad5e67 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -12342,7 +12342,7 @@ int skill_unit_timer_sub_onplace (struct block_list* bl, va_list ap) nullpo_ret(group); - if( group->skill_id != AC_SHOWER && !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP)) && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) ) + if( !(skill_get_inf2(group->skill_id)&(INF2_SONG_DANCE|INF2_TRAP|INF2_NOLP)) && map_getcell(bl->m, bl->x, bl->y, CELL_CHKLANDPROTECTOR) ) return 0; //AoE skills are ineffective. [Skotlex] if( battle_check_target(&unit->bl,bl,group->target_flag) <= 0 ) diff --git a/src/map/skill.h b/src/map/skill.h index bbcd68549..2e4a68fa4 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -64,6 +64,7 @@ enum e_skill_inf2 INF2_PARTY_ONLY = 0x0400, INF2_GUILD_ONLY = 0x0800, INF2_NO_ENEMY = 0x1000, + INF2_NOLP = 0x2000, // Spells that can ignore Land Protector }; //Walk intervals at which chase-skills are attempted to be triggered. -- cgit v1.2.3-70-g09d2