1
This commit is contained in:
parent
f64e16d276
commit
f1d9fd66f9
@ -52,7 +52,7 @@ float Weapon::GetAttrValue(HumanAttrType_e attr_type)
|
||||
break;
|
||||
case kHAT_MaxHp:
|
||||
{
|
||||
return 0 +
|
||||
return meta->i->max_hp() +
|
||||
(upgrade_meta ? upgrade_meta->GetAttrValue(weapon_lv, attr_type) : 0);
|
||||
}
|
||||
break;
|
||||
|
@ -73,6 +73,7 @@ message Equip
|
||||
optional int32 fire_rate = 9; //武器射速
|
||||
optional int32 atk = 10; //攻击力
|
||||
optional int32 def = 11; //防御力
|
||||
optional int32 max_hp = 41;
|
||||
optional int32 explosion_range = 12; //子弹爆炸范围
|
||||
optional int32 bullet_speed = 13; //子弹速度
|
||||
optional int32 range = 14; //射程
|
||||
|
Loading…
x
Reference in New Issue
Block a user