| | |
| | | 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 任务实例
|
| | |
| | | # @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 玩家实例
|
| | |
| | | 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
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | | ##是否家族长
|