This commit is contained in:
aozhiwei 2019-07-19 16:08:59 +08:00
parent ccda67f9f7
commit 56c2925865
2 changed files with 2 additions and 1 deletions

View File

@ -1570,7 +1570,7 @@ void Human::RecalcBaseAttr()
}
}
}
if (driver_meta) {
if (driver_meta && skin_meta && driver_meta->i->g_type() == skin_meta->i->type()) {
for (auto& pair : driver_meta->attr_up) {
float* p_attr = GetAbilityById(pair.first);
if (p_attr) {

View File

@ -214,6 +214,7 @@ message Tank
required int32 skill_id = 4;
required string attr_origin = 5;
required string attr_up = 6;
optional int32 type = 7;
}
//end