8970 【后端】【btzf】【bt】【bt2】【主干】装备格数新增到16阶(装备背包格子加到203格;穿装备无格子报错防范;GM广播时间格式错误报错防范)
# Conflicts:
# ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
| | |
| | | # @return None
|
| | | def CheckDate(startDate, endDate):
|
| | |
|
| | | if not startDate or not endDate:
|
| | | return False
|
| | | |
| | | if (endDate - startDate).days < 0:
|
| | | return True
|
| | |
|
| | |
| | | Def_DRRecord_Min_Silver = 500000
|
| | | Def_LargeTrade_Silver = 1000 * 1000
|
| | | #初始化装备背包格子数
|
| | | Def_PackCnt_Equip = 130
|
| | | Def_PackCnt_Equip = 203
|
| | | #主角交易栏最大格数
|
| | | Def_PlayerTradeMaxItemCount = 20
|
| | | #主角刚登陆游戏开启背包格子数
|
| | |
| | | curPlayer = self.__Player
|
| | | equipPack = self.__PlayerEquip
|
| | | equipItem = equipPack.GetAt(equipPackIndex)
|
| | | if not equipItem:
|
| | | return -1
|
| | | desItemID, desUserData = [0, ''] if equipItem.IsEmpty() else [equipItem.GetItemTypeID(), equipItem.GetUserData()]
|
| | | srcItemID, srcUserData = curItem.GetItemTypeID(), curItem.GetUserData()
|
| | |
|