6307 【后端】【2.0】多套装备开发单(默认第1套)
| | |
| | | giveItem.Clear()
|
| | | continue
|
| | |
|
| | | #---初始化装备显隐---前端自己设置
|
| | | #curPlayer.SetEquipShowSwitch(IPY_GameWorld.revClothesCoat|IPY_GameWorld.revWeaponCoat|IPY_GameWorld.revMask)
|
| | | #---初始化装备显隐 第1套*10+没有套装
|
| | | curPlayer.SetEquipShowSwitch(10)
|
| | | PlayerControl.SetFaceEquipIndex(curPlayer, 11012014)
|
| | |
|
| | | #默认触发一次功能开启
|
| | | if curPlayer.GetLV() == 1:
|
| | |
| | | return
|
| | |
|
| | | ##影响外观的3部位索引记录 123456789 123:武器格子索引 456:副手 789:衣服
|
| | | def GetFaceEquipIndexList(curPlayer): |
| | | def GetFaceEquipIndexList(curPlayer):
|
| | | attr15 = curPlayer.GetExAttr15()
|
| | | return [attr15%1000, attr15/1000%1000, attr15/1000000]
|
| | | def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value, True, True)
|
| | | def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value, False, True)
|
| | |
|
| | | ##获得玩家威望值
|
| | | def GetPrestige(curPlayer): return 0
|