hxp
2023-09-25 bc47738434e81b82326ed342cf1514f5c08af3e3
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -7467,29 +7467,6 @@
    curMission.SetProperty(key, PlayerControl.GetMoney(curPlayer, moneytype))
    return
##设置仙宝寻主领奖进度
# @param curPlayer 玩家实例
# @param curMission 任务实例
# @param curActionNode节点信息
# @return 返回值无意义
# @remarks <Set_Xbxz key="" mwid="法宝ID"/>
def DoType_Set_Xbxz(curPlayer, curMission, curActionNode):
    key = curActionNode.GetAttribute("key")
    questID = GameWorld.ToIntDef(curActionNode.GetAttribute("id"), 0)
    mwID = GameWorld.ToIntDef(curActionNode.GetAttribute("mwid"), 0)
    if questID != 0:
        curMission = curPlayer.FindMission(questID)
    curMission.SetProperty(key, PlayerMagicWeapon.GetXBXZAwardProgress(curPlayer, mwID))
    return
##仙宝寻主进度判断
# @param None
# @return None <Check_Xbxz value="数量" mwid="法宝ID"/>
def ConditionType_Check_Xbxz(curPlayer, curMission, curActionNode):
    value = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
    mwID = GameWorld.ToIntDef(curActionNode.GetAttribute("mwid"), 0)
    return PlayerMagicWeapon.GetXBXZAwardProgress(curPlayer, mwID) >= value
##商城表商品购买记录判断(只适用购买次数不重置的)
# @param None
# @return None <Check_Buyshopitem value="数量" index="商城表唯一ID"/>