Monster Vulture's Eye and Snake's Eye removed (fixes #916)
* Monsters no longer have Vulture's Eye level 10 and Snake's Eye level 10 learned by default * When you tank Cecil Damon from 10-14 cells away, she will no longer use her target skills * Added a configuration with which you can set the level of Vulture's Eye and Snake's Eye that monsters have learned
This commit is contained in:
parent
20e4029e26
commit
cccd1496f7
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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) ){
|
||||
|
Loading…
x
Reference in New Issue
Block a user