채팅0

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

    조회수 711

    ㅠㅠㅠㅠ

    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-2022120
      6166811:3930
      6166701:52129
      6166611-12155
      6166511-12200
      6166411-12245
      6166311-11367
      6166211-11354
      6166111-11491
      6166011-11399
      6165911-11546
      6165811-10466
      6165711-10493
      6165611-10472
      6165511-10539
      6165411-10658
      6165311-10619
      6165211-09688
      6165111-09638
      6165011-09676
      안내 배너 이미지