diff --git a/server/gameserver/ability.cc b/server/gameserver/ability.cc index 1692beb..749e69e 100644 --- a/server/gameserver/ability.cc +++ b/server/gameserver/ability.cc @@ -95,7 +95,7 @@ void Ability::FillMFAttrAdditionList(Room* room, Human* hum, auto pb_attr = pb_attr_list->Add(); pb_attr->set_attr_id(attr_id); pb_attr->set_abs_val(buff_attr_abs_[attr_id]); - pb_attr->set_rate_val(buff_attr_rate_[attr_id]); + pb_attr->set_rate_val(buff_attr_rate_[attr_id] * 100); } } } diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index 9eb3478..d879e5d 100644 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -153,6 +153,7 @@ enum HumanAttrType_e kHAT_FireRate = 9, kHAT_Volume = 10, kHAT_MaxHp = 11, + kHAT_ShotView = 12, kHAT_ReloadTime = 14, kHAT_WeaponDmg = 20, @@ -168,6 +169,7 @@ enum HumanAttrType_e kHAT_WeaponExplosionDealyTime = 30, kHAT_RecoverHpAdd = 31, kHAT_SkillTime = 32, + kHAT_WeaponThrowRange = 33, kHAT_End };