diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-15 06:54:26 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-15 06:54:26 +0000 |
commit | 8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b (patch) | |
tree | 7c050d91a6a0ff8d5ce6f3cb973d7dad93116f28 /src/map/skill.c | |
parent | 5bd153de6df78974797b3571df90ddc32fa5af57 (diff) | |
download | hercules-8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b.tar.gz hercules-8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b.tar.bz2 hercules-8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b.tar.xz hercules-8aac2b7d32e68cf3ebbb8502ee15fafb7da7e94b.zip |
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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |