From cfd9fd059c78903926bf8f265d6eb52904ec3e77 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 13 八月 2024 11:14:51 +0800
Subject: [PATCH] 10241 【越南】【砍树】【主干】【港台】古宝养成(增加古宝养成活动;任务活动增加古宝寻宝任务类型,任务支持配置循环轮次;)

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

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 6329808..0ecab99 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGubao.py
@@ -31,6 +31,7 @@
 import ItemControler
 import PlayerDienstgrad
 import PlayerGatherTheSoul
+import PlayerActGubao
 import PlayerCoat
 
 GubaoEffType_FamilyWar = 48 # 参与仙盟联赛每X次+XXX属性    x次
@@ -158,6 +159,8 @@
     
     RefreshGubaoAttr(curPlayer)
     Sync_GubaoInfo(curPlayer, [gubaoID])
+    
+    PlayerActGubao.OnGubaoCost(curPlayer, needPieceInfo, realNeedItemList)
     return
 
 #// B2 17 古宝升星 #tagCMGubaoStarUp
@@ -252,6 +255,8 @@
     GameWorld.Log("古宝升星: gubaoID=%s,updStar=%s" % (gubaoID, updStar), playerID)
     RefreshGubaoAttr(curPlayer)
     Sync_GubaoInfo(curPlayer, [gubaoID])
+    
+    PlayerActGubao.OnGubaoCost(curPlayer, needPieceInfo, realNeedItemList)
     return
 
 #// B2 18 古宝升级 #tagCMGubaoLVUp
@@ -313,6 +318,8 @@
     GameWorld.Log("古宝升级: gubaoID=%s,gubaoType=%s,quality=%s,updLV=%s" % (gubaoID, gubaoType, quality, updLV), playerID)
     RefreshGubaoAttr(curPlayer)
     Sync_GubaoInfo(curPlayer, [gubaoID])
+    
+    PlayerActGubao.OnGubaoCost(curPlayer, needPieceInfo, realNeedItemList)
     return
 
 def GetGubaoTotalLVStar(curPlayer):

--
Gitblit v1.8.0