From 8a7181b35a5f4063fb84fcb3120394faeaba2f77 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 07 十二月 2020 19:19:50 +0800 Subject: [PATCH] 8585 【港台】【BT】【长尾】【后端】竞技场(初版) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py | 39 --------------------------------------- 1 files changed, 0 insertions(+), 39 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py index fed877d..f263d1c 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py @@ -2436,16 +2436,6 @@ return startM <= curMinute <= overM #--------------------------------------------------------------------- -##竞技场活动是否开启 -# @param curPlayer 玩家实例 -# @param curMission 任务实例 -# @param curConditionNode 节点信息 -# @return 返回值, 是否判断成功 -# @remarks <Check_Vsroomisbegin result="期望值"/> -def ConditionType_Check_Vsroomisbegin(curPlayer, curMission, curConditionNode): - return - -#--------------------------------------------------------------------- ##指定任务类型个数是否达到指定数 # @param curPlayer 玩家实例 # @param curMission 任务实例 @@ -3950,19 +3940,6 @@ # @remarks <Lost_Money_By_Lv moneytype=""/> def DoType_Lost_Money_By_Lv(curPlayer, curMission, curActionNode): return - -#--------------------------------------------------------------------- -##扣除竞技点 -# @param curPlayer 玩家实例 -# @param curMission 任务实例 -# @param curActionNode节点信息 -# @return 返回值无意义 -# @remarks <DoType_Lost_Vspoint value=""/> -def DoType_Lost_Vspoint(curPlayer, curMission, curActionNode): - value = int(curActionNode.GetAttribute("value")) - PlayerControl.ReduceVsSportsPoint(curPlayer, value) - return - #--------------------------------------------------------------------- ##开通仓库 # @param curPlayer 玩家实例 @@ -6404,22 +6381,6 @@ conditionValue = GameWorld.ToIntDef(curConditionNode.GetAttribute("value"), 0) fbpasslv = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_MWFBPassLevel % mwid) return fbpasslv >= conditionValue - -#--------------------------------------------------------------------- -##是否拥有足够的竞技点 -# @param curPlayer 玩家实例 -# @param curMission 任务实例 -# @param curConditionNode节点信息 -# @return 返回值, 是否通过检查 -# @remarks <Have_Vspoint value="数值", result="期望的结果" /> -def ConditionType_Have_Vspoint(curPlayer, curMission, curConditionNode): - result = GameWorld.ToIntDef(curConditionNode.GetAttribute("result"), 0) - value = GameWorld.ToIntDef(curConditionNode.GetAttribute("value"), 0) - - if PlayerControl.GetVsSportsPoint(curPlayer) >= value: - return 1 == result - - return 0 == result #--------------------------------------------------------------------- ##是否家族长 -- Gitblit v1.8.0