This commit is contained in:
aozhiwei 2022-09-27 14:31:00 +08:00
parent 85fa17141e
commit dd8d08fbff
3 changed files with 9 additions and 0 deletions

View File

@ -489,6 +489,13 @@ namespace MetaData
a8::SetBitFlag(special_damage_type, n);
}
}
{
std::vector<std::string> strings;
a8::Split(i->hit_buff(), strings, '|');
for (auto& str : strings) {
hit_buff_list.push(a8::XValue(str));
}
}
}
void Equip::Init2()

View File

@ -109,6 +109,7 @@ namespace MetaData
std::vector<std::tuple<int, int, int>> power_charge;
MetaData::Buff* buff_meta = nullptr;
std::vector<std::tuple<float, int>> car_buff_list;
std::vector<int>> hit_buff_list;
int car_active_buff_id = 0;
int car_deactive_buff_id = 0;
long long special_damage_type = 0;

View File

@ -196,6 +196,7 @@ message Equip
optional float cri_damage = 71;
optional int32 shootfire = 73;
optional string hit_buff = 75;
}
message EquipUpgrade