hxp
2019-07-02 86227d696b4f15c4940a15d4b28a0dc3335ea98f
7690 【2.0.200】【后端】取消拍卖行获得拍品的广播和邮件
1个文件已修改
11 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -4005,7 +4005,7 @@
            # 记录玩家升级
            DataRecordPack.DR_PlayerUpgrade(curPlayer, curPlayer.GetLV(), GetPlayerTotalExp(curPlayer), lvUpNeedExp)
            DataRecordPack.Cache_FightPowerChangeInfo(curPlayer, ChConfig.PowerDownType_LVUP, {'lv':curLV})
            self.__GiveLVMailAward(curLV)
            self.__DoLVUPAddPoint()  # 升级加点
            #self.__DoLvUpAddSkill()  # 升级加技能
            
@@ -4094,6 +4094,15 @@
        SetPlayerTotalExp(curPlayer, curTotalExp) 
        return
    
    def __GiveLVMailAward(self, curLV):
        # 给等级邮件奖励
        mailLVAwardDict = IpyGameDataPY.GetFuncEvalCfg("MailLVAward", 1, {})
        if curLV not in mailLVAwardDict:
            return
        curPlayer = self.__Player
        SendMailByKey("LVUpMail", [curPlayer.GetPlayerID()], mailLVAwardDict[curLV], [curLV])
        return
    #---------------------------------------------------------------------
    def CalcRoleBaseAttr(self, curPlayer):