Additional configs for mobs idle AI (#4503)

* Added conf options to enable/disable monsters using idle skills and move when there's no players nearby.

Thanks to @aleos89
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Daegaladh
2020-01-03 00:20:50 +01:00
committed by GitHub
parent c52b3b784a
commit e27aa8b2d8
4 changed files with 22 additions and 8 deletions

View File

@@ -8557,6 +8557,8 @@ static const struct _battle_data {
{ "feature.equipswitch", &battle_config.feature_equipswitch, 1, 0, 1, },
{ "pet_walk_speed", &battle_config.pet_walk_speed, 1, 1, 3, },
{ "blacksmith_fame_refine_threshold", &battle_config.blacksmith_fame_refine_threshold,10, 1, MAX_REFINE, },
{ "mob_nopc_idleskill_rate", &battle_config.mob_nopc_idleskill_rate, 100, 0, 100, },
{ "mob_nopc_move_rate", &battle_config.mob_nopc_move_rate, 100, 0, 100, },
#include "../custom/battle_config_init.inc"
};