diff options
author | Guilherme G. Menaldo <guilherme.menaldo@outlook.com> | 2018-10-20 23:21:07 -0300 |
---|---|---|
committer | Guilherme G. Menaldo <guilherme.menaldo@outlook.com> | 2018-10-20 23:21:07 -0300 |
commit | 1e3d3a3c0bca912ebdf18ae337814b2f434ec442 (patch) | |
tree | 7711e509fca9fd4b4ddcc7185cbaa897086f9266 /src/map/battle.c | |
parent | df3f7552e61d1dae45e83c55ff36b95ab95181bb (diff) | |
download | hercules-1e3d3a3c0bca912ebdf18ae337814b2f434ec442.tar.gz hercules-1e3d3a3c0bca912ebdf18ae337814b2f434ec442.tar.bz2 hercules-1e3d3a3c0bca912ebdf18ae337814b2f434ec442.tar.xz hercules-1e3d3a3c0bca912ebdf18ae337814b2f434ec442.zip |
Added setting to keep traps invisible when triggered
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 895876300..a784f6884 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6966,7 +6966,8 @@ static const struct battle_data { { "player_damage_delay_rate", &battle_config.pc_damage_delay_rate, 100, 0, INT_MAX, }, { "defunit_not_enemy", &battle_config.defnotenemy, 0, 0, 1, }, { "gvg_traps_target_all", &battle_config.vs_traps_bctall, BL_PC, BL_NUL, BL_ALL, }, - { "trap_visibility", &battle_config.trap_visibility, 0, 0, 2, }, + { "trap_options/visibility", &battle_config.trap_visibility, 2, 0, 2, }, + { "trap_options/display_on_trigger", &battle_config.trap_trigger, 1, 0, 1, }, { "summon_flora_setting", &battle_config.summon_flora, 1|2, 0, 1|2, }, { "clear_skills_on_death", &battle_config.clear_unit_ondeath, BL_NUL, BL_NUL, BL_ALL, }, { "clear_skills_on_warp", &battle_config.clear_unit_onwarp, BL_ALL, BL_NUL, BL_ALL, }, |