背包常见类

Item
属性 类型 描述
id
name string
type 枚举 消耗品、装备、武器、材料
Comsumable、Equipment、Weapon、Material
quality 质量
description string 描述
capacity 容量
buyprice 购买价格
sellprice 售卖价格
Comsumable 继承Item 消耗类物品
属性
hp 血瓶
mp 蓝瓶
Equipment 继承Item 装备类物品
属性 类型 描述
strength 力量
intellect 智力
stamina 体力
agility 敏捷
equipType 枚举 装备类型
head头
neck脖子
ring戒指
leg 腿
bracer 护腕
boots 靴子
trinket 饰品
shoulder 肩膀
belt 腰带
offHand 副手
Weapon 继承Item 武器类物品
属性 类型 描述
damage 攻击力
weaponType 枚举 武器类型
offHand
mainHand
Material 继承为 Item 材料类物品