From 7f6f241a12a875ec999e1708ca9bf8f67bed15dc Mon Sep 17 00:00:00 2001 From: Stolao Date: Thu, 12 Dec 2019 08:03:03 -0800 Subject: [PATCH] Added Conf setting to Enable mob-warping when standing on Dimensional Door (#4472) --- conf/battle/monster.conf | 1 + src/map/battle.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/battle/monster.conf b/conf/battle/monster.conf index d50cc839f2..6f96b0df93 100644 --- a/conf/battle/monster.conf +++ b/conf/battle/monster.conf @@ -71,6 +71,7 @@ monster_chase_refresh: 3 // 1: Enable mob-warping when standing on NPC-warps // 2: Enable mob-warping when standing on Priest Warp Portals // 4: Disable warping when the target map is a 'nobranch' map. +// 8: Enable mob-warping when standing on Dimensional Door mob_warp: 0 // If these are set above 0, they define the time (in ms) during which monsters diff --git a/src/map/battle.cpp b/src/map/battle.cpp index 64cf60bce2..9aeb52f3bb 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -8219,7 +8219,7 @@ static const struct _battle_data { { "produce_item_name_input", &battle_config.produce_item_name_input, 0x1|0x2, 0, 0x9F, }, { "display_skill_fail", &battle_config.display_skill_fail, 2, 0, 1|2|4|8, }, { "chat_warpportal", &battle_config.chat_warpportal, 0, 0, 1, }, - { "mob_warp", &battle_config.mob_warp, 0, 0, 1|2|4, }, + { "mob_warp", &battle_config.mob_warp, 0, 0, 1|2|4|8, }, { "dead_branch_active", &battle_config.dead_branch_active, 1, 0, 1, }, { "vending_max_value", &battle_config.vending_max_value, 10000000, 1, MAX_ZENY, }, { "vending_over_max", &battle_config.vending_over_max, 1, 0, 1, },