1
This commit is contained in:
parent
2c141c1059
commit
f694e2119c
@ -23,6 +23,41 @@ namespace mt
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int i = 1; i <= 3; ++i) {
|
||||
gun_num_buff_hash_[i] = buffs;
|
||||
}
|
||||
}
|
||||
{
|
||||
std::vector<std::string> strings;
|
||||
a8::Split(pickup6(), 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int i = 3; i <= 6; ++i) {
|
||||
gun_num_buff_hash_[i] = buffs;
|
||||
}
|
||||
}
|
||||
{
|
||||
std::vector<std::string> strings;
|
||||
a8::Split(pickup9(), 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int i = 6; i <= 9; ++i) {
|
||||
gun_num_buff_hash_[i] = buffs;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user