This commit is contained in:
aozhiwei 2023-11-01 15:28:14 +08:00
parent 4e2990ecc6
commit 84bec528f5

View File

@ -83,6 +83,14 @@ namespace mt
_float_range3 = a8::XValue(tmp_str).GetDouble() / 100;
}
_int_range4 = a8::XValue(range4());
_float_range4 = a8::XValue(range4()).GetDouble();
if (range4().find('%') != std::string::npos) {
std::string tmp_str = range4();
a8::ReplaceString(tmp_str, "%", "");
_float_range4 = a8::XValue(tmp_str).GetDouble() / 100;
}
_int_probability = a8::XValue(probability());
_float_probability = a8::XValue(probability()).GetDouble();
if (probability().find('%') != std::string::npos) {