From bbf29a0a3d0848ad95f1469b0da067712d14ff40 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 十二月 2018 14:27:00 +0800
Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(去除进入PK地图无敌buff、复活无敌buff)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossRealmPK.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossRealmPK.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossRealmPK.py
index 0c55f89..c9c6d2d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossRealmPK.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossRealmPK.py
@@ -153,6 +153,8 @@
         curPlayer.Sync_TimeTick(ChConfig.tttTowerTake, 0, max(notify_tick, 0), True)
         
     FBCommon.Notify_FBHelp(curPlayer, __GetFBHelpInfo())
+    PlayerControl.DelLimitSuperBuff(curPlayer, tick)
+    PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
     return
 
 def __GetFBHelpInfo():
@@ -395,7 +397,7 @@
         
         if player.GetPlayerAction() == IPY_GameWorld.paDie or player.GetHP() <= 0:
             GameWorld.DebugLog("复活玩家...", player.GetPlayerID())
-            ChPlayer.PlayerRebornByType(player, ChConfig.rebornType_System, tick)
+            ChPlayer.PlayerRebornByType(player, ChConfig.rebornType_System, tick, isAddSuperBuff=False)
             __ResetPlayerState(gameFB, player, playerID)
         else:
             __ResetPlayerState(gameFB, player, playerID, False)

--
Gitblit v1.8.0