From 501afa4af216074d8bcbf532bf8d605c8c7fdf72 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 六月 2019 11:59:03 +0800
Subject: [PATCH] 4262 【主干】灵根加点超过65535报错(B2 06 玩家加点 #tagCMAddPoint)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetFreePoint.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetFreePoint.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetFreePoint.py
index 536ebf5..7194515 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetFreePoint.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetFreePoint.py
@@ -13,6 +13,7 @@
 #
 # 模块详细说明
 
+import OpenServerCampaign
 import GameWorld
 import Lang
 ## GM命令执行入口
@@ -26,4 +27,7 @@
         GameWorld.DebugAnswer(curPlayer, Lang.GBText("参数不正确"))
         return
     #获取 指定帐号<玩家ID>的未分配点数<未分配点数>
-    curPlayer.SetFreePoint(playerList[0])
\ No newline at end of file
+    curPlayer.SetFreePoint(playerList[0])
+    # 更新开服活动灵根数据
+    OpenServerCampaign.UpdOpenServerCampaignLingGenData(curPlayer)
+    return

--
Gitblit v1.8.0