hch
2019-04-20 9a4c438bc7d995bd24fdd484f8d6ddd9e66bd4bf
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/OpenFunc.py
@@ -40,11 +40,14 @@
        if not state:
            curPlayer.SetLV(1)
            curPlayer.SetOfficialRank(0)
            for mwType in xrange(1, 6):
                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MagicWeaponIsActive % (mwType, 0), 0)
            ipyDataMgr = IpyGameDataPY.IPY_Data()
            for i in xrange(ipyDataMgr.GetTreasureCount()):
                ipyData = ipyDataMgr.GetTreasureByIndex(i)
                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MagicWeaponLV % ipyData.GetID(), 0)
                
            for keyNum in xrange(8):
                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_GameFuncFirstTouch % keyNum, 0)
                PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_GameFuncAwardState % keyNum, 0)
                
            needLV, needMagicWeaponIDList, needRealmLV, needMissionIDList = __GetOpenFuncLimit([])
            for missionID in needMissionIDList: