From 0c7f6f6e4fa825393e3c391adfec97b96c230cf7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 04 七月 2025 09:52:46 +0800
Subject: [PATCH] 16 卡牌服务端(删除部分无用代码GY_GM_xxx.py)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py |   40 +---------------------------------------
 1 files changed, 1 insertions(+), 39 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
index 1bc629e..15599aa 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -1363,45 +1363,7 @@
 #        return
 #===============================================================================
     return
-#---------------------------------------------------------------------
-##GM开关活动, 地图服务器给经验
-# @param curPlayer 玩家实例
-# @param tick 时间戳
-# @return 返回值无意义
-# @remarks GM开关活动, 地图服务器给经验
-def ProcessMapGiveExp(curPlayer, tick):
-    gameWorld = GameWorld.GetGameWorld()
-    #经验倍率
-    exp_Multiple = 0
-    if gameWorld.IsEventActive(ChConfig.Def_GY_GM_GameID_MapGiveExp_Ten):
-        exp_Multiple = 10
-    elif gameWorld.IsEventActive(ChConfig.Def_GY_GM_GameID_MapGiveExp_Fifty):
-        exp_Multiple = 50
-    else:
-        #无活动
-        return
-    
-    mapExpTick = curPlayer.GetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp)
-    
-    if mapExpTick == 0:
-        #第一次设定当前时间
-        curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp, tick)
-        return
-    
-    if tick - mapExpTick < ChConfig.TYPE_Player_Tick_Time[ChConfig.TYPE_Player_Tick_GiveMapExp]:
-        #没有到刷新间隔
-        return
-    
-    curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_GiveMapExp, tick) 
-    
-    reExp = 0
-    
-    playerControl = PlayerControl.PlayerControl(curPlayer)
-    #玩家经验增加 参考经验 * 经验倍率
-    playerControl.AddExp(reExp * exp_Multiple)
-    
-    return
-#---------------------------------------------------------------------
+
 ##清空玩家连续击杀数量
 # @param curPlayer 玩家实例
 # @param tick 时间戳

--
Gitblit v1.8.0