This commit is contained in:
aozhiwei 2023-05-22 13:20:29 +08:00
parent 43582a94e3
commit 06b361f966

View File

@ -9,11 +9,16 @@ namespace mt
void MergeItem::Init1() void MergeItem::Init1()
{ {
{
std::vector<std::string> strings;
a8::Split(pickup3(), strings, '|');
}
} }
std::set<int>* MergeItem::GetBuffs(int num) std::set<int>* MergeItem::GetBuffs(int num)
{ {
return nullptr; auto itr = gun_num_buff_hash_.find(num);
return itr != gun_num_buff_hash_.end() ? &itr->second : nullptr;;
} }
} }