| | |
| | |
|
| | | if itemType in IpyGameDataPY.GetFuncEvalCfg("ItemRecordRule", 4) \
|
| | | or itemID in IpyGameDataPY.GetFuncEvalCfg("ItemRecordRule", 5):
|
| | | GameWorld.DebugLog("不需要记录的物品类型或ID! itemType=%s,itemID=%s" % (itemType, itemID))
|
| | | #GameWorld.DebugLog("不需要记录的物品类型或ID! itemType=%s,itemID=%s" % (itemType, itemID))
|
| | | return False
|
| | |
|
| | | itemTypeMinColorDict = IpyGameDataPY.GetFuncEvalCfg("ItemRecordRule", 1)
|
| | |
| | | #itemFactory = GameWorld.GetItemFactory()
|
| | | #isBind = tagItem.GetIsBind()
|
| | | # 目前暂只记录放入背包的
|
| | | if not isNeedRecord and packIndex in [IPY_GameWorld.rptItem, ShareDefine.rptTreasure, IPY_GameWorld.rptIdentify]:
|
| | | if not isNeedRecord and packIndex in ShareDefine.NeedRecordRPType:
|
| | | isNeedRecord = ItemNeedRecord(tagItem) or isForceEvent
|
| | | putResult = False
|
| | |
|