From ff3e540bb725cccaff39d0582b53a2070ad47436 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 一月 2023 17:08:27 +0800
Subject: [PATCH] 9762 【BT8】【后端】藏宝阁(删除激活古宝技能字段)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py |    6 +-----
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py      |    7 ++-----
 PySysDB/PySysDBPY.h                                                                       |    1 -
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h
index 8619b3e..d78b15c 100644
--- a/PySysDB/PySysDBPY.h
+++ b/PySysDB/PySysDBPY.h
@@ -437,7 +437,6 @@
 	BYTE		GubaoQuality;	//古宝品质
 	DWORD		UnlockItemID;	//解锁所需物品ID
 	BYTE		UnlockItemCnt;	//解锁所需物品数量
-	list		GiveSkillIDInfo;	//获得职业技能ID
 };
 
 //古宝升星表
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
index 224c57c..fdc2ceb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -362,7 +362,6 @@
                         ("BYTE", "GubaoQuality", 0),
                         ("DWORD", "UnlockItemID", 0),
                         ("BYTE", "UnlockItemCnt", 0),
-                        ("list", "GiveSkillIDInfo", 0),
                         ),
 
                 "GubaoStar":(
@@ -2751,15 +2750,13 @@
         self.GubaoID = 0
         self.GubaoQuality = 0
         self.UnlockItemID = 0
-        self.UnlockItemCnt = 0
-        self.GiveSkillIDInfo = []
+        self.UnlockItemCnt = 0
         return
         
     def GetGubaoID(self): return self.GubaoID # 古宝ID
     def GetGubaoQuality(self): return self.GubaoQuality # 古宝品质
     def GetUnlockItemID(self): return self.UnlockItemID # 解锁所需物品ID
-    def GetUnlockItemCnt(self): return self.UnlockItemCnt # 解锁所需物品数量
-    def GetGiveSkillIDInfo(self): return self.GiveSkillIDInfo # 获得职业技能ID
+    def GetUnlockItemCnt(self): return self.UnlockItemCnt # 解锁所需物品数量
 
 # 古宝升星表
 class IPY_GubaoStar():
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
index 9e4e3c8..7204832 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -17,7 +17,6 @@
 
 import GameWorld
 import ItemCommon
-import SkillCommon
 import PlayerControl
 import IpyGameDataPY
 import ChPyNetSendPack
@@ -72,10 +71,7 @@
     lv, star = 1, 1
     SetGubaoLVInfo(curPlayer, gubaoID, lv, star)
     GameWorld.Log("古宝激活成功! gubaoID=%s" % gubaoID, playerID)
-    giveSkillIDInfo = ipyData.GetGiveSkillIDInfo()
-    if giveSkillIDInfo:
-        SkillCommon.GivePlayerSkillByJobSkill(curPlayer, giveSkillIDInfo)
-        
+    
     RefreshGubaoAttr(curPlayer)
     Sync_GubaoInfo(curPlayer, [gubaoID])
     return

--
Gitblit v1.8.0