| | |
| | | conditionValue = GameWorld.ToIntDef(curConditionNode.GetAttribute("value"), 0)
|
| | | return PlayerMagicWeapon.GetIsActiveMagicWeapon(curPlayer, mwid, conditionValue)
|
| | |
|
| | | ##判断魔族法宝通关关卡
|
| | | # @param curPlayer 玩家实例
|
| | | # @param curMission 任务实例
|
| | | # @param curConditionNode节点信息 |
| | | # @return 返回值, 是否通过检查
|
| | | # @remarks <Check_Magicweapon_Passfblv" mwid="法宝ID" value="期望值" /> |
| | | def ConditionType_Check_Magicweapon_Passfblv(curPlayer, curMission, curConditionNode):
|
| | | mwid = GameWorld.ToIntDef(curConditionNode.GetAttribute("mwid"), 0)
|
| | | conditionValue = GameWorld.ToIntDef(curConditionNode.GetAttribute("value"), 0)
|
| | | fbpasslv = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_MWFBPassLevel % mwid)
|
| | | return fbpasslv >= conditionValue
|
| | |
|
| | | #---------------------------------------------------------------------
|
| | | ##是否拥有足够的竞技点
|
| | | # @param curPlayer 玩家实例
|