| | |
| | | totalcnt = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | return Operate_EquipStone.GetTotalStoneLV(curPlayer) >= totalcnt
|
| | |
|
| | | ##已镶嵌X等级宝石数量
|
| | | # @param None
|
| | | # @return None <Equiptotalstone value="cnt" stoneLV=""/>
|
| | | def ConditionType_Equipstonecnt(curPlayer, curMission, curActionNode):
|
| | | totalCnt = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
|
| | | stoneLV = GameWorld.ToIntDef(curActionNode.GetAttribute("lv"), 0)
|
| | | return Operate_EquipStone.GetStoneCntByLV(curPlayer, stoneLV) >= totalCnt
|
| | |
|
| | | ##设置已镶嵌X等级宝石数量
|
| | | # @param curPlayer 玩家实例
|
| | | # @param curMission 任务实例
|
| | | # @param curActionNode节点信息
|
| | | # @return 返回值无意义
|
| | | # @remarks <Set_Equiptotalstone key="" stoneLV="[]"/>
|
| | | def DoType_Set_Equiptotalstone(curPlayer, curMission, curActionNode):
|
| | | key = curActionNode.GetAttribute("key")
|
| | | questID = GameWorld.ToIntDef(curActionNode.GetAttribute("id"), 0)
|
| | | stoneLV = GameWorld.ToIntDef(curActionNode.GetAttribute("lv"), 1)
|
| | | if questID != 0:
|
| | | curMission = curPlayer.FindMission(questID)
|
| | | curMission.SetProperty(key, Operate_EquipStone.GetStoneCntByLV(curPlayer, stoneLV))
|
| | | return
|
| | |
|
| | | ##技能总等级
|
| | | # @param None
|
| | | # @return None <Totalskilllv value="" funcType="" skilllv=""/>
|