diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-10 21:30:17 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-10 21:30:17 +0000 |
commit | ab76b5ee8de6220f739c6f0f2288df887a3a5f7e (patch) | |
tree | 22e776a5a30a98170dacd9cf19b09ac82de75f3a /src | |
parent | 6e8b9de43008b0ed45f2ee11b0113e7ba4e77087 (diff) | |
download | hercules-ab76b5ee8de6220f739c6f0f2288df887a3a5f7e.tar.gz hercules-ab76b5ee8de6220f739c6f0f2288df887a3a5f7e.tar.bz2 hercules-ab76b5ee8de6220f739c6f0f2288df887a3a5f7e.tar.xz hercules-ab76b5ee8de6220f739c6f0f2288df887a3a5f7e.zip |
- 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
Diffstat (limited to 'src')
-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 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: /* ショックウェ?ブトラップ */
|