hxp
4 天以前 67a84dc38db8f7d0f85b03e2b06ba728d95c1e82
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/MainLevel.py
@@ -30,6 +30,7 @@
        GameWorld.DebugAnswer(curPlayer, "设置主线: MainLevel 章节 关卡 波 [是否同波]")
        GameWorld.DebugAnswer(curPlayer, "测试击杀: MainLevel k 消耗战锤数")
        GameWorld.DebugAnswer(curPlayer, "重置掉落: MainLevel d 0 [是否清掉落背包]")
        GameWorld.DebugAnswer(curPlayer, "设置保底: MainLevel d 当前保底幸运值")
        GameWorld.DebugAnswer(curPlayer, "重置战利: MainLevel b 0")
        GameWorld.DebugAnswer(curPlayer, "设置战利: MainLevel b 战利品ID 已掉落个数")
        return
@@ -43,15 +44,21 @@
    
    if value == "d":
        unXiantao = gmList[1] if len(gmList) > 1 else 1
        if unXiantao == 0:
        if unXiantao <= 0:
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_UnXiantaoCntExp, 0)
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_UnXiantaoCntEquip, 0)
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_AppointDropEquipCnt, 0)
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_LastColorEquipLucky, 0)
            GameLogic_MainLevel.ResetBootyDropToday(curPlayer)
            clearDropPack = gmList[2] if len(gmList) > 2 else 0
            if clearDropPack:
                ClearPack.__DoLogic_Clear_Pack(curPlayer, IPY_GameWorld.rptIdentify)
            GameWorld.DebugAnswer(curPlayer, "重置未结算战锤掉落OK!")
            return
        luckyValue = unXiantao
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_LastColorEquipLucky, luckyValue)
        GameWorld.DebugAnswer(curPlayer, "掉落保底幸运值: %s" % luckyValue)
        return
    
    if value == "b":