| | |
| | |
|
| | | if len(cmdList) != 3:
|
| | | return
|
| | | classlv, equipPlace, starLV = cmdList
|
| | | ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classlv, equipPlace)
|
| | | classLV, equipPlace, starLV = cmdList
|
| | | ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classLV, equipPlace)
|
| | | if not ipyData:
|
| | | __GMHelpAnswer(curPlayer)
|
| | | return
|
| | | equipPackIndex = ipyData.GetGridIndex()
|
| | | ChEquip.SetEquipPartStar(curPlayer, equipPackIndex, starLV)
|
| | | ChEquip.NotifyEquipPartStar(curPlayer, equipPackIndex)
|
| | | ChEquip.RefreshPlayerEquipAttribute(curPlayer, classlv)
|
| | | ChEquip.RefreshPlayerEquipAttribute(curPlayer, classLV)
|
| | | playControl = PlayerControl.PlayerControl(curPlayer)
|
| | | playControl.RefreshPlayerAttrState()
|
| | | GameWorld.DebugAnswer(curPlayer, "设置%s阶%s部位星数为: %s" % (classLV, equipPlace, starLV))
|
| | |
| | | def __GMHelpAnswer(curPlayer, errorMsg=""):
|
| | | if errorMsg:
|
| | | GameWorld.DebugAnswer(curPlayer, "%s" % errorMsg)
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 星数")
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 星数")
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 部位 星数")
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 星数")
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 星数")
|
| | | GameWorld.DebugAnswer(curPlayer, "SetEquipPartStar 阶级 部位 星数")
|
| | |
|
| | | return
|