hch
2019-09-25 6f0ab62aed23e675e999179ce92339428d11fc85
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -5902,6 +5902,22 @@
    return [attr15%1000, attr15/1000%1000, attr15/1000000]
def SetFaceEquipIndex(curPlayer, value): return curPlayer.SetExAttr15(value)
# 返回最大的灵根系
def GetLingGenMaxIndex(curPlayer):
    return curPlayer.GetExAttr16()
def SetLingGenMaxIndex(curPlayer):
    indexList = [ChConfig.TYPE_Calc_Metal,                        # 金 1
                ChConfig.TYPE_Calc_Wood,                         # ľ 2
                ChConfig.TYPE_Calc_Water,                        # ˮ 3
                ChConfig.TYPE_Calc_Fire,                         # 火 4
                ChConfig.TYPE_Calc_Earth,                        # 土 11
                ]
    tempList = [GetMetal(curPlayer), GetWood(curPlayer), GetWater(curPlayer),
                GetFire(curPlayer), GetEarth(curPlayer)]
    curPlayer.SetExAttr16(indexList[tempList.index(max(tempList))])
##获得玩家威望值
def GetPrestige(curPlayer): return 0
def SetPrestige(curPlayer, value): return