This commit is contained in:
aozhiwei 2024-09-05 17:44:48 +08:00
parent 857f3ef773
commit ce02b947ac

View File

@ -100,6 +100,22 @@ namespace mt
s_.block_effect_range.push_back(a8::XValue(str).GetDouble());
}
}
{
std::string tmp_str = GetStringParam("SpdEffFacVec", "");
std::vector<std::string> strings;
a8::Split(tmp_str, strings, '|');
for (auto& str : strings) {
s_.spd_eff_fac_vec.push_back(a8::XValue(str).GetDouble());
}
}
{
std::string tmp_str = GetStringParam("SpdPunFacVec", "");
std::vector<std::string> strings;
a8::Split(tmp_str, strings, '|');
for (auto& str : strings) {
s_.spd_pun_fac_vec.push_back(a8::XValue(str).GetDouble());
}
}
s_.nature_recover_hp_switch = a8::XValue(GetStringParam("nature_recover_hp_switch", "0"));
s_.nature_recover_hp_idletime = a8::XValue(GetStringParam("nature_recover_hp_idletime", "3"));
s_.nature_recover_hp_interval = a8::XValue(GetStringParam("nature_recover_hp_interval1", "1"));