From 3d3a72a7c8482ec217d936c8fcee3cea07cfb785 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 06 六月 2024 11:17:47 +0800
Subject: [PATCH] 10130 【后端】福地争夺资源功能

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
index 289f531..dce2503 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py
@@ -31,6 +31,7 @@
 import IPY_GameServer
 import PlayerDBGSEvent
 import CrossChampionship
+import GameWorldMineArea
 import IpyGameDataPY
 import CrossRealmMsg
 import ShareDefine
@@ -258,8 +259,8 @@
 def GetFBFuncLineID(curPlayer): return curPlayer.GetExAttr3()
 
 ##VIP到期时间
-def GetVIPExpireTime(curPlayer): return curPlayer.GetExAttr9()
-def SetVIPExpireTime(curPlayer, expireTime): return curPlayer.SetExAttr9(expireTime)
+def GetVIPExpireTime(curPlayer): return 0
+def SetVIPExpireTime(curPlayer, expireTime): return
 def GetValidVIPLV(curPlayer):
     # @return: 返回当前有效的VIP等级
 #    vipTime = GetVIPExpireTime(curPlayer)
@@ -437,6 +438,7 @@
     playerID = curPlayer.GetPlayerID()
     FuncOpenLogicDict = {
                          ShareDefine.GameFuncID_Championship:lambda curObj:CrossChampionship.DoChampionshipOpen(curObj),
+                         ShareDefine.GameFuncID_MineArea:lambda curObj:GameWorldMineArea.DoMineAreaFuncOpen(curObj),
                          }
     for funcID in funcIDList:
         if funcID in FuncOpenLogicDict:

--
Gitblit v1.8.0