This commit is contained in:
aozhiwei 2024-09-19 19:10:50 +08:00
parent b17d8dde24
commit 98c5e62384
2 changed files with 17 additions and 0 deletions

View File

@ -92,6 +92,14 @@ namespace mt
s_.performance_score_weight_BR.push_back(a8::XValue(str).GetDouble());
}
}
{
std::string tmp_str = GetStringParam("performance_score_weight_circuit", "");
std::vector<std::string> strings;
a8::Split(tmp_str, strings, '|');
for (auto& str : strings) {
s_.performance_score_weight_circuit.push_back(a8::XValue(str).GetDouble());
}
}
{
std::string tmp_str = GetStringParam("block_effect_range", "");
std::vector<std::string> strings;
@ -132,6 +140,10 @@ namespace mt
s_.battle_hint_view_range = GetIntParam("battle_hint_view_range", s_.battle_hint_view_range);
s_.battle_hint_broadcast_range = GetIntParam("battle_hint_broadcast_range", s_.battle_hint_broadcast_range + 800);
s_.circuit_score_mult_constant = GetIntParam("circuit_score_mult_constant", s_.circuit_score_mult_constant);
s_.circuit_score_shift_constant = GetIntParam("circuit_score_shift_constant", s_.circuit_score_shift_constant);
s_.circuit_battle_cooldown = GetIntParam("circuit_battle_cooldown", s_.circuit_battle_cooldown);
s_.circuit_rank_score_min = GetIntParam("circuit_rank_score_min", s_.circuit_rank_score_min);
#ifdef MYDEBUG
s_.match_team_time = 6;
s_.match_robot_time = 5;

View File

@ -34,6 +34,11 @@ namespace mt
int pickup_weapon_replace_type = 0;
std::vector<float> performance_score_weight_4V4;
std::vector<float> performance_score_weight_BR;
std::vector<float> performance_score_weight_circuit;
float circuit_score_mult_constant = 0.0f;
float circuit_score_shift_constant = 0.0f;
float circuit_battle_cooldown = 0.0f;
float circuit_rank_score_min = 0.0f;
int downed_relive_recover_hp = 0;