public virtual void UnEquipDecoration(DecorationData decorationData) { RoleData.EquipData.DecorationDataList.Remove(decorationData); // 转杯添加buff add by TangJian 2017/11/20 21:55:28 BuffController.RemoveBuff(decorationData.id + "-" + decorationData.buffId); }
// 装备饰品 add by TangJian 2017/11/20 21:51:54 public virtual bool EquipDecoration(DecorationData decorationData) { if (RoleData.EquipData.DecorationDataList.Count < 4) { RoleData.EquipData.DecorationDataList.Add(decorationData); // 转杯添加buff add by TangJian 2017/11/20 21:55:28 BuffController.AddEquipBuff(decorationData.buffId, decorationData.buffId); return(true); } return(false); }