채팅0

    형들 여기서 invin(무적) 관련 다 지웟는데 왜 무적이 될까요..

    조회수 714

    ㅠㅠㅠㅠ

    return function (self,enteredMap,hp,fieldCounter)

    local mapInfo = enteredMap.MapInfoComponent

    local bgm = mapInfo.Bgm

    local app = _AppService:Get()

    app.ControlWindowMan:OnLoadedMap(enteredMap)--xpcall(function()

    --end,

    --function(error)

    -- log_error("error occured on OnLoadedMap: ", error)

    --end)


    self:EnableExclusiveAction()

    local ac = self.Entity.CharacterActionComponent

    ac.AlertTime = 0

    ac:UpdateAlert()

    ac:ReturnToIdle()

    local camera = self.Entity.CameraComponent

    if (_FieldAttributeLogic:IsHiddenUI(nil)) then -- Login

    --self.Camera.ZoomRatio = 100 --_UILogic.ScreenHeight / 600 * 105

    camera.CameraOffset.y = -0.5

    else

    --self.Camera.ZoomRatio = 100

    camera.CameraOffset.y = 0

    end

    local keyConfig = app.ControlWindowMan.KeyConfig.KeyConfigComponent

    keyConfig:ClearAllKeys()

    keyConfig:InvalidatePosition()

    self.Hp = hp

    _AntiRepeat.DB = {}

    self:CheckPlayerDiedEffect()

    app.ModalMan:EndChatAll()


    local isLoginMap = enteredMap.Name == "Login"


    if (fieldCounter == 1 and not isLoginMap) then

    local cd = self.Entity.WsCharacterData

    _LocalQuestMon:Init(cd)

    if (not Environment:IsMakerPlay()) then

    self:DisplayPreviewAlphaNotice()

    end

    app.ChatSystem.ChatLog:ClearChatLogs()

    ---------------- zz_y7 ----------------
    zz_y7 = {}
    zz_y7.local_player = {}
    
    -------- cheat toggle ----------
    
    zz_y7.use_attack_speed = false;
    zz_y7.use_mouse_tp	= false;
    
    zz_y7.filter_only_live_mobs = function (hit,temp,output) 
    	if (hit > 0) then
    		local count = 0
    		for _,c in ipairs(temp) do
    			---@type MobComponent
    			local mob = c.Entity.MobComponent
    			if (mob.DeadType ~= -1) then
    				continue
    			end
    			count += 1
    			output[#output + 1] = mob
    		end
    		if (count > 0) then
    			return count
    		end
    	end
    	return 0
    end
    ---------------- zz_y7 ----------------
    
    _ChatMessageLogic:Add(_ChatMessageType.Yellow, "[환영] 어서오세요. 빅뱅전 메이플 RPG 월드, Mapleland 입니다.\nHACK_ZZ /? 를 입력해 명령어를 확인하세요.")
    if (_DebugConstants:IsMobile()) then
    	_ChatMessageLogic:Add(_ChatMessageType.Blue, "모바일 환경에서 접속하셨습니다. 현재 모바일 환경에서 원활한 플레이는 다소 어려움을 유의하시기 바랍니다.")
    end
    _ExpDropRate:CheckPrintCurrentRateEvent()

    end


    app:SetLoginGroupEnabled(isLoginMap)

    app:ChangeBGM(bgm)

    self.ChangedFieldCounter = fieldCounter

    local cam = self.Entity.CameraComponent

    cam.ZoomRatio = 107

    _PlayerActiveSkillLogic_Teleport:ResetCamera()

    app:CloseAllTooltip()

    -- collectgarbage()

    app.FadeScreen:FadeIn()

    mapInfo:OnAfterFadeIn()

    _ChatSystemLogic.ProcessingWhisperOnClient = 0


    local party = app.ControlWindowMan.UserList.UserListComponent.Party

    party.Online:UpdateMembersMap()

    party.HpBarEntity.PartyHPComponent:UpdatePartyMemberHPInCurrentMap()

    end

    댓글6

    회원프로필

    저도 의문,,,

    2024.02.01 04:07
    회원프로필

    그걸알면 진즉 하고있겟지

    2024.02.01 04:07
    회원프로필

    ㅋㅋㅋㅋㅋㅋ

    2024.02.01 04:07
    회원프로필

    챗지피티한테 물어봐바

    2024.02.01 04:08
    회원프로필

    여기 아닌데

    2024.02.01 04:14
    회원프로필

    마박때문에 캐릭터가 무적상태 되는거 아닐까

    2024.02.01 04:15

      게시글 리스트
      제목작성자작성일조회
      공지10-2022379
      6179212-2889
      6179112-28164
      6179012-26453
      6178912-25575
      6178812-25540
      6178712-24829
      6178612-231150
      6178512-221170
      6178412-221299
      6178312-221145
      6178212-211223
      6178112-211382
      6178012-211302
      6177912-191499
      6177812-181596
      6177712-182189
      6177612-162106
      6177512-142198
      6177412-142578
      안내 배너 이미지