fix
This commit is contained in:
parent
088b45189a
commit
cae20c8783
@ -2099,8 +2099,7 @@ bool Human::IsEnemy(Human* hum)
|
||||
for(int i = 1;i <= maxtalent; i++)
|
||||
{
|
||||
auto talent = MetaMgr::Instance()->GetTalent(i);
|
||||
std::string label(curr_weapon->meta->i.equip_label());
|
||||
if (talent->GetEquipLabel() == a8::XValue(label).GetInt()) {
|
||||
if (talent->GetEquipLabel() == curr_weapon->meta->i->equip_label()) {
|
||||
talent_attr_abs_[kHAT_Atk] += talent->GetAtkPlus();
|
||||
talent_attr_abs_[kHAT_MaxHp] += talent->GetHpPlus();
|
||||
}
|
||||
|
@ -96,6 +96,7 @@ message Equip
|
||||
optional int32 explosion_effect = 42;
|
||||
optional string param1 = 43;
|
||||
optional int32 reloadtype = 46;
|
||||
optional int32 equip_label = 47;
|
||||
|
||||
optional string inventory_slot = 31; //库存槽位
|
||||
optional int32 _inventory_slot = 32; //库存槽位
|
||||
|
Loading…
x
Reference in New Issue
Block a user