From ab76b5ee8de6220f739c6f0f2288df887a3a5f7e Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 10 Mar 2006 21:30:17 +0000 Subject: - Fixed mob-casted demonstration/quagmire being affected by the gvg_traps_all config setting. - Moved the gvg_traps_target_all config from guild.conf to skill.conf git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5568 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/skill.c b/src/map/skill.c index 4495e1c02..9b6b99b87 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -6470,7 +6470,8 @@ struct skill_unit_group *skill_unitsetting( struct block_list *src, int skillid, break; case WZ_QUAGMIRE: //The target changes to "all" if used in a gvg map. [Skotlex] case AM_DEMONSTRATION: - if (map_flag_vs(src->m) && battle_config.vs_traps_bctall) + if (map_flag_vs(src->m) && battle_config.vs_traps_bctall + && src->type != BL_MOB) target = BCT_ALL; break; case HT_SHOCKWAVE: /* ショックウェ?ブトラップ */ -- cgit v1.2.3-70-g09d2