From 95d92494e3f8db6674470f460d7e3eb3b326f8e9 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 24 一月 2019 11:06:23 +0800
Subject: [PATCH] 5919 【后端】【1.5.100】诛仙塔功能开发(次数扣修改)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
index 9cd2e17..28d6a65 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_ZhuXianTower.py
@@ -49,7 +49,7 @@
FBDict_BossTotalHP = 'FBDict_BossTotalHP' #BOSS血量
FBDict_LastHurtTick = 'FBDict_LastHurtTick' #上次伤害时间
FBDict_HasGiveAward = 'FBDict_HasGiveAward' # 是否有给奖励
-FBDict_HasAddCnt = 'FBDict_HasAddCnt' # 是否有扣次数
+
# 副本通用配置
(
@@ -480,13 +480,12 @@
for itemID, itemCnt, isBind in prizeItemList:
ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, [IPY_GameWorld.rptItem],
event=["ZhuXianTower", False, {}])
- #本次副本里第一次给奖励时扣次数(非首次S也扣次数)
- if (not isFirstPass and curStar == Def_MaxStar) or not gameFB.GetGameFBDictByKey(FBDict_HasAddCnt):
+ #首次S级不扣次数,非S级给奖励扣次数,非首次S扣次数
+ if not isFirstPass:
FBCommon.AddEnterFBCount(curPlayer, ChConfig.Def_FBMapID_ZhuXianTower, 1)
- gameFB.SetGameFBDict(FBDict_HasAddCnt, 1)
+
gameFB.SetGameFBDict(FBDict_HasGiveAward, 1)
-
return
--
Gitblit v1.8.0