| | |
| | | return False
|
| | | playerItemControl = ItemControler.PlayerItemControler(curPlayer)
|
| | |
|
| | | if curItem.GetIsBind():
|
| | | if ItemControler.GetIsAuctionItem(curItem):
|
| | | GameWorld.DebugLog("拍品无法穿戴!")
|
| | | return False
|
| | |
|
| | |
| | | equipIndex = sendPack.GetEquipIndex()
|
| | | curEquip = roleEquipPack.GetAt(equipIndex)
|
| | |
|
| | | if not ItemCommon.CheckItemCanUse(curEquip):
|
| | | if not ItemCommon.CheckItemCanUse(curEquip) or ItemControler.GetIsAuctionItem(curEquip):
|
| | | return
|
| | |
|
| | | #FB禁止使用物品
|
| | |
| | | def CalcEquipSuiteAttr(curPlayer, suitCntDict, allAttrListSuit):
|
| | | if not suitCntDict:
|
| | | return
|
| | | GameWorld.DebugLog(' suitCntDict=%s'%suitCntDict)
|
| | | #GameWorld.DebugLog(' suitCntDict=%s'%suitCntDict)
|
| | | learnSkillList = []
|
| | | delSkillID = []
|
| | | skillManager = curPlayer.GetSkillManager()
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, key, activeCnt)
|
| | |
|
| | | SyncAllEquipAttrActiveInfo(curPlayer, activeType)
|
| | | if activeType == 0:
|
| | | PlayerMagicWeapon.CalcMagicWeaponSoulAttr(curPlayer)
|
| | | |
| | | #注意: 需要传装备阶触发刷属性,暂屏蔽,功能修改时再处理
|
| | | #else:
|
| | | # RefreshPlayerEquipAttribute(curPlayer)
|