1
This commit is contained in:
parent
06b361f966
commit
2c141c1059
@ -9,9 +9,21 @@ namespace mt
|
||||
|
||||
void MergeItem::Init1()
|
||||
{
|
||||
{
|
||||
std::set<int> buffs;
|
||||
{
|
||||
std::vector<std::string> strings;
|
||||
a8::Split(pickup3(), strings, '|');
|
||||
for (auto& str : strings) {
|
||||
if (!str.empty()) {
|
||||
if (str.at(0) == '-') {
|
||||
buffs.erase(-a8::XValue(str).GetInt());
|
||||
} else {
|
||||
buffs.insert(a8::XValue(str).GetInt());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user