From 718f530accc19969f39d1a8ce199fe947508e29a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 16 十月 2025 19:19:09 +0800
Subject: [PATCH] 237 【福利内容】每日任务/每周任务/章节奖励-服务端(每日任务、每周奖励;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py |   53 +++--------------------------------------------------
 1 files changed, 3 insertions(+), 50 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 caf58b5..35f83ff 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -25,7 +25,6 @@
 import OperControlManager
 import ShareDefine
 import ReadChConfig
-import PlayerDienstgrad
 import IpyGameDataPY
 import GameObj
 import GameMap
@@ -36,13 +35,11 @@
 import PlayerSuccess
 import PassiveBuffEffMng
 import FunctionNPCCommon
-import FormulaControl
 import PlayerFlashSale
-import PlayerChatBox
-import PlayerFace
 import PlayerBackup
 import PlayerOnline
 import PlayerGoldRush
+import PlayerHJG
 
 #---------------------------------------------------------------------
 #---------------------------------------------------------------------
@@ -1032,16 +1029,9 @@
     #反外挂验证
     #PlayerAutoCheckOnline.HackDefense(curPlayer, tick)
     
-    #副本相关时间处理
-    #PlayerFB.DoPlayerFBTimeProcess(curPlayer, tick)
-    
     #恶意攻击时间处理
     #AttackCommon.ProcessMaliciousAttackPlayer(curPlayer, tick)
-
-    #活跃放置
-    #PlayerActivity.ProcessActivityPlace(curPlayer)
-    #自定义场景
-    #FBLogic.OnCustomSceneProcess(curPlayer, tick)
+    
     #炼器
     #PlayerActLianqi.OnProcess(curPlayer)
     #仙盟攻城战
@@ -1074,12 +1064,7 @@
         return
     curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_Minute, tick)
     
-    # 时效称号
-    PlayerDienstgrad.CheckDienstgradTimeout(curPlayer)
-    # 时效头像
-    PlayerFace.OnMinute(curPlayer)
-    # 聊天气泡
-    PlayerChatBox.OnMinute(curPlayer)
+    PlayerHJG.OnMinute(curPlayer)
     return
 
 # 一定时间自动释放的被动技能
@@ -1227,36 +1212,4 @@
         return
     curPlayer.SetDict(ChConfig.Def_PDict_BossStateTick, 0)
     PlayerControl.SendPropertyRefresh(curPlayer, ShareDefine.CDBPlayerRefresh_BossState, 0)
-    return
-    
-def ProcessAreaExp(curPlayer, tick):
-    ##给场景经验
-    if GameWorld.IsCrossServer():
-        return
-    if curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_ClientCustomScene):
-        return
-    crossMapID = PlayerControl.GetCrossMapID(curPlayer)
-    mapID = crossMapID if crossMapID else GameWorld.GetMap().GetMapID()
-    if not FBLogic.OnCanGetAreaExp(curPlayer, mapID):
-        return
-    neutralMapExpAwardDict = IpyGameDataPY.GetFuncEvalCfg('NeutralMapExpAward', 1, {})
-    expAwardInfo = GameWorld.GetDictValueByKey(neutralMapExpAwardDict, mapID)
-    if not expAwardInfo:
-        return
-    if len(expAwardInfo) != 2:
-        return
-    secondCD, expFormula = expAwardInfo
-    lastTick = curPlayer.GetDictByKey(ChConfig.Def_PDict_MapAreaExpTick)
-    if not lastTick:
-        curPlayer.SetDict(ChConfig.Def_PDict_MapAreaExpTick, tick)
-        return
-    if tick - lastTick < secondCD:
-        return
-    curPlayer.SetDict(ChConfig.Def_PDict_MapAreaExpTick, tick)
-    
-    reExp = PlayerControl.GetPlayerReExp(curPlayer)
-    reLV = curPlayer.GetLV()
-    worldLV = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_WorldAverageLv)
-    addExp = eval(FormulaControl.GetCompileFormula('NeutralMapExpAward%s'%mapID, expFormula))
-    PlayerControl.PlayerControl(curPlayer).AddExp(addExp, ShareDefine.Def_ViewExpType_SysEx)
     return

--
Gitblit v1.8.0