1
This commit is contained in:
parent
ccda67f9f7
commit
56c2925865
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user