| | |
| | | # 更新翅膀精炼颜色
|
| | | wingColorDict = wingAttrIpyData.GetItemColorInfo()
|
| | | curColor = curWing.GetUserAttr(ShareDefine.Def_IudetItemColor)
|
| | | isColorChange = False
|
| | | #isColorChange = False
|
| | | for color in wingColorDict:
|
| | | if updWingProgress >= wingColorDict[color] and color > curColor:
|
| | | curColor = color
|
| | | curWing.SetUserAttr(ShareDefine.Def_IudetItemColor, curColor)
|
| | | GameWorld.DebugLog(" 更新翅膀颜色: updWingProgress=%s,curColor=%s" % (updWingProgress, curColor))
|
| | | isColorChange = True
|
| | | #isColorChange = True
|
| | | maxRefineExp = wingAttrIpyData.GetMaxRefineExp()
|
| | | if curPlayer and wingProgress < maxRefineExp <= updWingProgress:
|
| | | PlayerControl.WorldNotify(0, "WingsRefinePerfect", [curPlayer.GetPlayerName(), curItemID, curWing.GetUserData()])
|
| | | if curPlayer and isColorChange:
|
| | | PlayerSuccess.DoEquipSuccessLogic(curPlayer)
|
| | | #if curPlayer and isColorChange:
|
| | | # PlayerSuccess.DoEquipSuccessLogic(curPlayer)
|
| | | return
|
| | |
|
| | | def GetWingRefineAttrData(itemID):
|