From db9769e37b8e3c5f5a5346e9e4fb17c89614100b Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 20 三月 2019 17:27:49 +0800
Subject: [PATCH] 6374 【后端】【2.0】删除无用功能代码、封包、配置(删除修复代码)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |   24 ------------------------
 1 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index 049fbbf..d1fbf60 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -3434,30 +3434,6 @@
     GameWorld.DebugLog('    加点功能开启处理  beforeFreePoint=%s,curLV=%s, setFreePoint=%s'%(beforeFreePoint, curLV, setFreePoint), curPlayer.GetID())
     return
 
-def FixOldAddPoint(curPlayer):
-    ##老号加点处理 重置已加点数,
-    if GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_AddPoint):
-        return
-    GameWorld.SetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_VersionFix, ChConfig.Def_VerFix_AddPoint, 1)
-    baseSTR, basePNE, basePHY, baseCON = GetPlayerBasePoint(curPlayer.GetJob())
-    addPoint = curPlayer.GetFreePoint()
-    attrInfoDict = {'BaseSTR':baseSTR,'BasePNE':basePNE,'BasePHY':basePHY,'BaseCON':baseCON}
-    for attrKey, basePoint in attrInfoDict.items():
-        addPoint += (getattr(curPlayer, 'Get%s'%attrKey)() - basePoint)
-    fixFreePoint = GetAllPointByLV(curPlayer)
-    if addPoint != fixFreePoint:
-        for attrKey, basePoint in attrInfoDict.items():
-            getattr(curPlayer, 'Set%s'%attrKey)(basePoint)
-        curPlayer.SetFreePoint(fixFreePoint)
-        #重置天赋
-        PlayerGreatMaster.DoResetMasterSkillPoint(curPlayer)
-        #邮件补偿
-        SendMailByKey('PointCompensation', [curPlayer.GetID()], [], goldPaper=200)
-        
-        addDataDict = {'beforeTotalPoint':addPoint}
-        DataRecordPack.DR_Freepoint(curPlayer, "FixOldAddPoint", fixFreePoint, addDataDict)
-        GameWorld.Log('老号加点处理 重置已加点数 addPoint=%s, fixFreePoint=%s' % (addPoint, fixFreePoint))
-    return
     
 #---------------------------------------------------------------------
 

--
Gitblit v1.8.0