From 51335efec2d9440261b9f9f02c5aaad0051c33e6 Mon Sep 17 00:00:00 2001 From: Aleos Date: Tue, 29 Mar 2022 09:44:04 -0400 Subject: [PATCH] Fixes monster_ai battle config (#6757) * Fixes #6751. * Expands the cap of the monster_ai config to support new settings. Thanks to @xZee0523! --- src/map/battle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/battle.cpp b/src/map/battle.cpp index 18c1ae30c1..f650aa3c28 100644 --- a/src/map/battle.cpp +++ b/src/map/battle.cpp @@ -9836,7 +9836,7 @@ static const struct _battle_data { { "display_hallucination", &battle_config.display_hallucination, 1, 0, 1, }, { "use_statpoint_table", &battle_config.use_statpoint_table, 1, 0, 1, }, { "debuff_on_logout", &battle_config.debuff_on_logout, 0, 0, 1|2, }, - { "monster_ai", &battle_config.mob_ai, 0x000, 0x000, 0x77F, }, + { "monster_ai", &battle_config.mob_ai, 0x000, 0x000, 0xFFF, }, { "hom_setting", &battle_config.hom_setting, 0xFFFF, 0x0000, 0xFFFF, }, { "dynamic_mobs", &battle_config.dynamic_mobs, 1, 0, 1, }, { "mob_remove_damaged", &battle_config.mob_remove_damaged, 1, 0, 1, },