This commit is contained in:
aozhiwei 2021-09-06 08:59:07 +00:00
parent f37ea6d3b1
commit 94c1b2274d
2 changed files with 3 additions and 3 deletions

View File

@ -165,11 +165,11 @@ void KillMgr::PreprocessRollMsg(std::shared_ptr<cs::SMRollMsg> pb_msg,
if (hint_info.Replace(el_type, text)) {
if (el_type == kFieldIdxWeaponTextIcon) {
auto e = pb_msg->add_elements();
e->set_element_type(el_type);
e->set_element_type(kImageElement);
e->mutable_union_obj_2()->set_id(a8::XValue(text));
} else {
auto e = pb_msg->add_elements();
e->set_element_type(el_type);
e->set_element_type(kTextElement);
e->mutable_union_obj_1()->set_text(text);
}
}

View File

@ -158,7 +158,7 @@ message Equip
optional string power_gun = 52;
optional string power_buff = 53;
optional int32 through_teammate = 54;
optional int32 text_icon = 55;
optional string text_icon = 55;
optional string special_damage_type = 56;
optional float max_oil = 57;
optional float average_oil = 58;