1
This commit is contained in:
parent
d58227ab21
commit
5864eed064
@ -266,6 +266,8 @@ enum PropertyType_e
|
||||
kPropCarOil = 27,
|
||||
kPropFollowTarget = 30,
|
||||
kPropDive = 31,
|
||||
|
||||
kPropSkillExp = 32,
|
||||
};
|
||||
|
||||
enum MapObjectType_e
|
||||
|
@ -106,14 +106,13 @@ Human::Human():Creature()
|
||||
skin.skin_lv = 1;
|
||||
}
|
||||
weapons[0] = default_weapon;
|
||||
inventory_[IS_1XSCOPE] = 1;
|
||||
|
||||
if (MetaMgr::Instance()->fighting_mode) {
|
||||
inventory_[IS_9MM] = FIGHTING_MODE_BULLET_NUM;
|
||||
inventory_[IS_556MM] = FIGHTING_MODE_BULLET_NUM;
|
||||
inventory_[IS_762MM] = FIGHTING_MODE_BULLET_NUM;
|
||||
inventory_[IS_12GAUGE] = FIGHTING_MODE_BULLET_NUM;
|
||||
inventory_[IS_RPG] = FIGHTING_MODE_BULLET_NUM;
|
||||
AddInventory(IS_9MM, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_556MM, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_762MM, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_12GAUGE, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_RPG, FIGHTING_MODE_BULLET_NUM);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -146,6 +146,9 @@ message MFVec2
|
||||
property_type: 31 下潜后氧气
|
||||
property_subtype: 总量
|
||||
valule: 当前量
|
||||
property_type: 32 更新技能经验(需要容错,skill_id可能在本地找不到)
|
||||
property_subtype: skill_id
|
||||
valule: 经验
|
||||
*/
|
||||
message MFPropertyChg
|
||||
{
|
||||
@ -847,6 +850,8 @@ message MFSkill
|
||||
optional int32 cd_time = 3; //技能cd时间(总时间)
|
||||
optional int32 curr_times = 4; //当前可用次数
|
||||
optional int32 max_times = 5; //次数上限
|
||||
optional int32 exp = 7; //当前经验
|
||||
optional int32 max_exp = 8; //经验上限(当满级以后exp=0 max_exp=0)
|
||||
}
|
||||
|
||||
message MFPlaySkill
|
||||
|
Loading…
x
Reference in New Issue
Block a user