| | |
| | | if not IsTitleCanUse(curPlayer, titleID, ipyData):
|
| | | continue
|
| | | attrIDList = ipyData.GetAttrIDList()
|
| | | if not attrIDList:
|
| | | continue
|
| | | #if not attrIDList:
|
| | | # continue
|
| | | initAttrValueList = ipyData.GetInitAttrValueList()
|
| | | perStarAddList = ipyData.GetAttrPerStarAddList()
|
| | | star = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TitleStar % titleID)
|
| | |
| | | if unlockWay == 3: # 关联武将
|
| | | heroID = unlockValue
|
| | | return True if PlayerHero.GetHeroActivite(curPlayer, heroID) else False
|
| | | if unlockWay == 4: # 关联武将皮肤
|
| | | skinID = unlockValue
|
| | | return True if PlayerHero.GetHeroSkinState(curPlayer, skinID) else False
|
| | |
|
| | | return False
|
| | |
|