| | |
| | |
|
| | | ## 根据特权ID 和 VIP等级获得特权值
|
| | | def GetPrivilegeValue(vipLV, privilegeID):
|
| | | if privilegeID not in ChConfig.VIPPrivilegeList:
|
| | | #if privilegeID not in ChConfig.VIPPrivilegeList:
|
| | | # return 0
|
| | | if not privilegeID:
|
| | | return 0
|
| | | vipMsg = IpyGameDataPY.GetIpyGameData('VipPrivilege', privilegeID)
|
| | | if not vipMsg:
|
| | |
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, "DelItem", result, len(result))
|
| | | return
|
| | |
|
| | | def MapServerGiveAward(curPlayer, eventName, moneyInfo={}, itemList=[], drDict={}):
|
| | | ## 地图给奖励
|
| | | result = str([eventName, moneyInfo, itemList, drDict])
|
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, "GiveAward", result, len(result))
|
| | | return
|
| | |
|
| | | ## 增加仙盟活跃
|
| | | # @param curPlayer
|
| | | # @param successType: 成就类型
|