修复武器属性问题

This commit is contained in:
aozhiwei 2020-08-21 11:15:03 +08:00
parent 47e2112319
commit cdf4acffd0
2 changed files with 3 additions and 3 deletions

View File

@ -104,8 +104,8 @@ namespace MetaData
}
{
std::vector<std::string> strings;
if (!i->spera_type().empty()) {
a8::Split(i->spera_type(), strings, '|');
if (!i->spera_attr().empty()) {
a8::Split(i->spera_attr(), strings, '|');
} else {
a8::Split(i->attr_type(), strings, '|');
}

View File

@ -104,7 +104,7 @@ message EquipUpgrade
{
optional int32 id = 1;
optional string attr_type = 4;
optional string spera_type = 5;
optional string spera_attr = 5;
}
message Player