| | |
| | | # @param value: 威望值
|
| | | # @return:
|
| | | def SetMergeWarRank(curPlayer, value):
|
| | | curPlayer.SetExAttr10(value)
|
| | | return
|
| | |
|
| | |
|
| | |
| | | # @param curPlayer: 玩家实例
|
| | | # @return: 威望值
|
| | | def GetMergeWarRank(curPlayer):
|
| | | return curPlayer.GetExAttr10()
|
| | | return 0
|
| | |
|
| | | ## 职业阶数
|
| | | def GetJobRank(curPlayer): return curPlayer.GetExAttr1()
|
| | |
| | | # return 0
|
| | | return curPlayer.GetVIPLv()
|
| | |
|
| | | ## 根据特权ID 和 VIP等级获得特权值
|
| | | def GetPrivilegeValue(vipLV, privilegeID):
|
| | | if privilegeID not in ChConfig.VIPPrivilegeList:
|
| | | return 0
|
| | | vipMsg = IpyGameDataPY.GetIpyGameData('VipPrivilege', privilegeID)
|
| | | if not vipMsg:
|
| | | return 0
|
| | | return getattr(vipMsg, 'GetVIP%d' % vipLV)()
|
| | |
|
| | | ##聊天气泡框
|
| | | def GetChatBubbleBox(curPlayer): return curPlayer.GetExAttr10()
|
| | | def SetChatBubbleBox(curPlayer, value): return curPlayer.SetExAttr10(value)
|
| | |
|
| | | ##今日已获得仙缘币
|
| | | def GetTodayXianyuanCoin(curPlayer): return curPlayer.GetExAttr11()
|
| | | def SetTodayXianyuanCoin(curPlayer, value): return curPlayer.SetExAttr11(value)
|
| | |
|
| | | ## 是否脱机挂机状态
|
| | | def GetIsTJG(curPlayer):
|
| | | if curPlayer.GetDictByKey(ChConfig.Def_OnlineType):
|