|
@@ -11144,8 +11144,8 @@ int32 battle_check_target( struct block_list *src, struct block_list *target,int
|
|
|
|
|
|
if (ud && ud->immune_attack)
|
|
|
return 0;
|
|
|
- if(((md->special_state.ai == AI_SPHERE || //Marine Spheres
|
|
|
- (md->special_state.ai == AI_FLORA && battle_config.summon_flora&1)) && s_bl->type == BL_PC && src->type != BL_MOB) || //Floras
|
|
|
+ if((((md->special_state.ai == AI_SPHERE && battle_config.alchemist_summon_setting&2) || //Marine Spheres
|
|
|
+ (md->special_state.ai == AI_FLORA && battle_config.alchemist_summon_setting&1)) && s_bl->type == BL_PC && src->type != BL_MOB) || //Floras
|
|
|
(md->special_state.ai == AI_ZANZOU && t_bl->id != s_bl->id) || //Zanzou
|
|
|
(md->special_state.ai == AI_FAW && (t_bl->id != s_bl->id || (s_bl->type == BL_PC && src->type != BL_MOB)))
|
|
|
){ //Targettable by players
|
|
@@ -11496,7 +11496,6 @@ static const struct _battle_data {
|
|
|
#else
|
|
|
{ "traps_setting", &battle_config.traps_setting, 0, 0, 2, },
|
|
|
#endif
|
|
|
- { "summon_flora_setting", &battle_config.summon_flora, 1|2, 0, 1|2, },
|
|
|
{ "clear_skills_on_death", &battle_config.clear_unit_ondeath, BL_NUL, BL_NUL, BL_ALL, },
|
|
|
{ "clear_skills_on_warp", &battle_config.clear_unit_onwarp, BL_ALL, BL_NUL, BL_ALL, },
|
|
|
{ "random_monster_checklv", &battle_config.random_monster_checklv, 0, 0, 1, },
|
|
@@ -12104,9 +12103,11 @@ static const struct _battle_data {
|
|
|
#ifdef RENEWAL
|
|
|
{ "hom_delay_reset_vaporize", &battle_config.hom_delay_reset_vaporize, 0, 0, 1, },
|
|
|
{ "hom_delay_reset_warp", &battle_config.hom_delay_reset_warp, 0, 0, 1, },
|
|
|
+ { "alchemist_summon_setting", &battle_config.alchemist_summon_setting, 12, 0, 15, },
|
|
|
#else
|
|
|
{ "hom_delay_reset_vaporize", &battle_config.hom_delay_reset_vaporize, 1, 0, 1, },
|
|
|
{ "hom_delay_reset_warp", &battle_config.hom_delay_reset_warp, 1, 0, 1, },
|
|
|
+ { "alchemist_summon_setting", &battle_config.alchemist_summon_setting, 15, 0, 15, },
|
|
|
#endif
|
|
|
{ "loot_range", &battle_config.loot_range, 12, 1, MAX_WALKPATH, },
|
|
|
{ "assist_range", &battle_config.assist_range, 11, 1, MAX_WALKPATH, },
|