diff --git a/conf/battle/monster.conf b/conf/battle/monster.conf index 66432805b3..28aea5f737 100644 --- a/conf/battle/monster.conf +++ b/conf/battle/monster.conf @@ -81,6 +81,12 @@ view_range_rate: 100 // column in the mob_db. (Note 2) chase_range_rate: 100 +// Which level of of Vulture's Eye and Snake's Eye should monsters have learned? +// Officially monsters don't have these skills learned, so their ranged skills +// only have a range of 9. If you put a number higher than 0, their range will +// be increased by that number. +monster_eye_range_bonus: 0 + // Allow monsters to be aggresive and attack first? (Note 1) monster_active_enable: yes diff --git a/src/map/battle.c b/src/map/battle.c index 4bd4d60081..1c08bdd339 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -8162,7 +8162,7 @@ static const struct _battle_data { { "arrow_shower_knockback", &battle_config.arrow_shower_knockback, 1, 0, 1, }, { "devotion_rdamage_skill_only", &battle_config.devotion_rdamage_skill_only, 1, 0, 1, }, { "max_extended_aspd", &battle_config.max_extended_aspd, 193, 100, 199, }, - { "monster_chase_refresh", &battle_config.mob_chase_refresh, 1, 0, 30, }, + { "monster_chase_refresh", &battle_config.mob_chase_refresh, 3, 0, 30, }, { "mob_icewall_walk_block", &battle_config.mob_icewall_walk_block, 75, 0, 255, }, { "boss_icewall_walk_block", &battle_config.boss_icewall_walk_block, 0, 0, 255, }, { "snap_dodge", &battle_config.snap_dodge, 0, 0, 1, }, @@ -8174,10 +8174,11 @@ static const struct _battle_data { { "homunculus_evo_intimacy_reset", &battle_config.homunculus_evo_intimacy_reset, 1000, 0, INT_MAX, }, { "monster_loot_search_type", &battle_config.monster_loot_search_type, 1, 0, 1, }, { "feature.roulette", &battle_config.feature_roulette, 1, 0, 1, }, - { "monster_hp_bars_info", &battle_config.monster_hp_bars_info, 1, 0, 1, }, + { "monster_hp_bars_info", &battle_config.monster_hp_bars_info, 1, 0, 1, }, { "min_body_style", &battle_config.min_body_style, 0, 0, SHRT_MAX, }, { "max_body_style", &battle_config.max_body_style, 4, 0, SHRT_MAX, }, { "save_body_style", &battle_config.save_body_style, 0, 0, 1, }, + { "monster_eye_range_bonus", &battle_config.mob_eye_range_bonus, 0, 0, 10, }, }; #ifndef STATS_OPT_OUT diff --git a/src/map/battle.h b/src/map/battle.h index dd6cf52d03..bd83c0606f 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -597,6 +597,7 @@ extern struct Battle_Config int min_body_style; int max_body_style; int save_body_style; + int mob_eye_range_bonus; //Vulture's Eye and Snake's Eye range bonus } battle_config; void do_init_battle(void); diff --git a/src/map/skill.c b/src/map/skill.c index 6c1b7126f2..c1e8f34042 100755 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -360,7 +360,7 @@ int skill_get_range2 (struct block_list *bl, uint16 skill_id, uint16 skill_lv) { // added to allow GS skills to be effected by the range of Snake Eyes [Reddozen] if(inf3&INF3_EFF_SNAKEEYE) range += pc_checkskill((TBL_PC*)bl, GS_SNAKEEYE); } else - range += 10; //Assume level 10? + range += battle_config.mob_eye_range_bonus; } if(inf3&(INF3_EFF_SHADOWJUMP|INF3_EFF_RADIUS|INF3_EFF_RESEARCHTRAP) ){