- 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://svn.code.sf.net/p/rathena/svn/trunk@5568 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-03-10 21:30:17 +00:00
parent dd2012602d
commit 1b0b8a393a
3 changed files with 6 additions and 5 deletions

View File

@ -62,10 +62,6 @@ gvg_misc_attack_damage_rate: 60
// NOTE: It's %, not absolute, so 20 is -20% of your total flee
gvg_flee_penalty: 20
// Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 1)
// Default on official servers: yes
gvg_traps_target_all: yes
// When the emperium is broken with WoE mode on, How Long Before The
// Declaration Of Castle Owner and Removal of Monsters/Players from
// Castle. (in milliseconds) (Note 3)

View File

@ -118,6 +118,10 @@ player_skill_nofootset: yes
// as traps straight onto or nearby other players. (Note 1)
monster_skill_nofootset: no
// Should traps (hunter traps + quagmire) change their target to "all" inside gvg/pvp grounds? (Note 1)
// Default on official servers: yes
gvg_traps_target_all: yes
// Whether placed down skills will check walls (Note 1)
// (Makes it so that Storm Gust/Lord of Vermillion/etc when casted next to a wall, won't hit on the other side)
// NOTE: It may degrade performance to enable this.

View File

@ -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: /* ショックウェ?ブトラップ */