From cb9519432b4e8bee01d2d5f1fc7f82efae3c9210 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 13 一月 2020 16:18:40 +0800
Subject: [PATCH] 8369 境界修改(升级境界可学习技能或增加灵根点)

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
index 6fcc029..c0aef9c 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -30,6 +30,7 @@
 import PlayerBillboard
 import EventShell
 import DataRecordPack
+import SkillCommon
 
 import time
 #------------------------------------------------------------------------------
@@ -204,6 +205,14 @@
         else:
             PlayerControl.WorldNotify(0, 'RealmUpSuccess', [curPlayer.GetName(), curPlayer.GetID(), nextRealmLv])
             
+    SkillCommon.GivePlayerSkillByJobSkillList(curPlayer, nextRealmIpyData.GetLearnSkillIDInfo())
+    
+    addFreePoint = nextRealmIpyData.GetAddFreePoint()
+    if addFreePoint:
+        updFreePoint = curPlayer.GetFreePoint() + addFreePoint
+        curPlayer.SetFreePoint(updFreePoint)
+        GameWorld.DebugLog("    addFreePoint=%s,updFreePoint=%s" % (addFreePoint, updFreePoint))
+        
     RefreshOfficialAttr(curPlayer)
     GameFuncComm.DoFuncOpenLogic(curPlayer)
     SyncRealmFBState(curPlayer)

--
Gitblit v1.8.0