| | |
| | | gameData = GameWorld.GetGameData()
|
| | |
|
| | | effIndexList = [1, 2, 3, 4] # 第一个效果值是类型等级效果值,非属性效果值
|
| | | |
| | | gemLVList = []
|
| | | for holeIndex in Operate_EquipStone.GetAllEquipPlaceHoleIndex():
|
| | |
|
| | | curGemID = Operate_EquipStone.GetEquipIndexStoneIDAndIsBand(curPlayer, equipIndex, holeIndex)[0]
|
| | |
| | | effectID, effectValue = curGemEffect.GetEffectID(), curGemEffect.GetEffectValue(0)
|
| | | if effectID and effectValue:
|
| | | PlayerControl.CalcAttrDict_Type(effectID, effectValue, allAttrList)
|
| | |
|
| | | return
|
| | | gemEffect = curGem.GetEffectByIndex(0)
|
| | | gemLV = gemEffect.GetEffectValue(1)
|
| | | gemLVList.append(gemLV)
|
| | | return gemLVList
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | | ## 装备添加Buff
|