xdh
2018-08-23 b3d649ec7f08594b16adddb6f310b81328118b89
fix:娲皇任务接口修改
3个文件已修改
16 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -1813,9 +1813,9 @@
    RunQuestEvent(curPlayer, "mwsoulactive", soulid, Def_RunQuestType_RunAll)
    return
def EventRespons_PassQueenRelecs(curPlayer, lineID):
    #S级通关X层娲皇遗迹
    RunQuestEvent(curPlayer, "passqueenrelecs", lineID, Def_RunQuestType_Normal)
def EventRespons_PassQueenRelecs(curPlayer, lineID, grade):
    #X级通关X层娲皇遗迹
    RunQuestEvent(curPlayer, "passqueenrelecs", '%s_%s'%(lineID, grade), Def_RunQuestType_Normal)
    return
def EventRespons_HorseUp(curPlayer):
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py
@@ -7142,14 +7142,14 @@
    soulID = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
    return bool(PlayerMagicWeapon.GetIsActiveMWSoul(curPlayer, soulID))
##S级通关X层娲皇遗迹
##X级通关X层娲皇遗迹
# @param None
# @return None <Passqueenrelecs value="lineID"/>
# @return None <Passqueenrelecs value="lineID" grade="grade"/>
def ConditionType_Passqueenrelecs(curPlayer, curMission, curActionNode):
    lineID = GameWorld.ToIntDef(curActionNode.GetAttribute("value"), 0)
    grade = GameWorld.GetDictValueByBit(curPlayer, ChConfig.Def_Player_Dict_PlayerFBStar_MapId, lineID, False, [ChConfig.Def_FBMapID_QueenRelics])
    maxGrade = len(FBCommon.GetFBLineGrade(ChConfig.Def_FBMapID_QueenRelics, lineID))
    return grade >=maxGrade
    needGrade = GameWorld.ToIntDef(curActionNode.GetAttribute("grade"), 0)
    return grade >=needGrade
##坐骑总等级
# @param None
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py
@@ -501,7 +501,7 @@
            #成就
            if grade >= maxGrade:
                PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_QueenRelics, 1, [lineID+1])
                EventShell.EventRespons_PassQueenRelecs(curPlayer, lineID)
            EventShell.EventRespons_PassQueenRelecs(curPlayer, lineID, grade)
            #任务
            EventShell.EventRespons_FBEvent(curPlayer, "queenrelics_pass")
        FBCommon.NotifyFBOver(curPlayer, dataMapID, lineID, isPass, overDict)