예전에쓰던건데 지금은 테스트안해봤어.. 쓰고 정지먹어도 내탓하지망..
-- 기타 아이템 처리 로직
clear_etc = function()
local MiscItemSlotCount = 0
for slotIndex = 1, cd.ItemMaxSlot[4], 1 do
local item = cd:GetItem(4, slotIndex)
if item ~= nil then
MiscItemSlotCount = MiscItemSlotCount + 1
end
end
if MiscItemSlotCount >= cd.ItemMaxSlot[4] then
for slotIndex = 1, cd.ItemMaxSlot[4], 1 do
local item = cd:GetItem(4, slotIndex)
if item ~= nil then
--이곳에 지정할장소로 순간이동하게 추가
_InventoryLogic:TryDropItem(cd, 4, slotIndex, item.Number)
wait(0.05)
--순간이동전 좌표로복귀하게추가
end
end
wait(1.0)
end
end
attackmo_func = function()
if (usercherck) then
return
end
local LeftControlD = KeyDownEvent()
LeftControlD.key = KeyboardKey.LeftControl
local LeftControlU = KeyUpEvent()
LeftControlU.key = KeyboardKey.LeftControl
clear_etc()
---------------------------------------------
if attackk then -- 평타
_InputService:SendEvent(LeftControlD)
wait(attackspd2)
_InputService:SendEvent(LeftControlU) -- 함수 호출이 해제되면 컨트롤 키를 뗍니다.
end
end
이런식으로수정하면될듯..??
말했지만 정지당해도 내탓아니다..
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22050 | |
| 61624 | 17:49 | 44 | ||
| 61623 | 13:11 | 101 | ||
| 61622 | 10:26 | 139 | ||
| 61621 | 11-02 | 298 | ||
| 61620 | 11-02 | 191 | ||
| 61619 | 11-02 | 282 | ||
| 61618 | 메랜h구매합니다+5 | 11-02 | 382 | |
| 61617 | 11-02 | 371 | ||
| 61616 | 11-02 | 352 | ||
| 61615 | 11-01 | 333 | ||
| 61614 | 11-01 | 341 | ||
| 61613 | 11-01 | 361 | ||
| 61612 | 11-01 | 366 | ||
| 61611 | 11-01 | 418 | ||
| 61610 | 11-01 | 378 | ||
| 61609 | 메랜H삽니다+3 | 11-01 | 393 | |
| 61608 | h메 구매합니다+2 | 11-01 | 376 | |
| 61607 | 11-01 | 378 | ||
| 61606 | h매 구매합니다+1 | 11-01 | 436 |
댓글1
오우 땡큐요