From ce185c6150887f187a7bbe3266cc2bd57286e380 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 28 十二月 2018 15:59:08 +0800
Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(增加段位匹配范围字段)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
index 6ec55f3..befd498 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -3792,7 +3792,7 @@
#@param mapBornPlace 复活位置,默认0为原地
#@return 返回值无意义
#@remarks 自定义函数, 玩家复活
-def PlayerRebornByType(curPlayer, playerRebornType, tick, mapBornPlace=0):
+def PlayerRebornByType(curPlayer, playerRebornType, tick, mapBornPlace=0, isAddSuperBuff=True):
curPlayerID = curPlayer.GetID()
curVipLv = curPlayer.GetVIPLv()
@@ -3901,7 +3901,8 @@
FBLogic.OnResetFBRebornPlacePos(curPlayer, mapBornPlace, tick)
#复活加无敌Buff
- SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer , ChConfig.Def_SkillID_LimitSuperBuff, tick)
+ if isAddSuperBuff:
+ SkillCommon.AddBuffBySkillType_NoRefurbish(curPlayer , ChConfig.Def_SkillID_LimitSuperBuff, tick)
#复活疲劳BUff
if curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_IsAddReviveTired):
findBuff = SkillCommon.FindBuffByID(curPlayer, ChConfig.Def_SkillID_ReviveTired)[0]
--
Gitblit v1.8.0