-------------------물약 -------------------
[zz_y7_const.USE_MUL] = function(self)
zz_y7.use_mul = not zz_y7.use_mul
if zz_y7.use_mul then
zz_y7.use_mul_timer = _TimerService:SetTimerRepeat(zz_y7.mul_timer_func, 0.5)
zz_y7.use_pet_timer = _TimerService:SetTimerRepeat(zz_y7.pet_timer_func, 300)
else
_TimerService:ClearTimer(zz_y7.use_mul_timer)
_TimerService:ClearTimer(zz_y7.use_pet_timer)
end
print_toggle_message(zz_y7_const.USE_MUL, zz_y7.use_mul)
end,
zz_y7.mul_timer_func = function(self)
local UserHP = _UserService.LocalPlayer.WsUser.Hp
local UserMP = _UserService.LocalPlayer.WsUser.Mp
if UserHP <= 150 then
_ItemConsumeLogic:TryConsumeFromFuncKey(2000001) -- 체력 포션
end
if UserMP <= 30 then
_ItemConsumeLogic:TryConsumeFromFuncKey(2000003) -- 마나 포션
end
end
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22110 | |
| 61668 | 19:58 | 23 | ||
| 61667 | 16:49 | 54 | ||
| 61666 | 14:54 | 79 | ||
| 61665 | 08:33 | 181 | ||
| 61664 | 03:59 | 134 | ||
| 61663 | 00:09 | 243 | ||
| 61662 | 11-10 | 200 | ||
| 61661 | 11-10 | 207 | ||
| 61660 | 11-10 | 208 | ||
| 61659 | 11-10 | 245 | ||
| 61658 | 11-10 | 343 | ||
| 61657 | 11-10 | 359 | ||
| 61656 | 11-09 | 414 | ||
| 61655 | 11-09 | 377 | ||
| 61654 | 11-09 | 409 | ||
| 61653 | 11-09 | 456 | ||
| 61652 | 11-09 | 411 | ||
| 61651 | 11-09 | 466 | ||
| 61650 | 11-09 | 526 |
댓글6
이래저래 해봤는데 도저히 모루겟
1:1주세여
걸어주실수잇나요 ㅠㅠ
제가 이 코드 자동물약있습니다 명령어하고 온오프 버튼만있으면 구동가능하네요
좀 알려주시면 안댈까용? ㅠㅠ 1대1은 포가없어서 못걸어요 ㅠㅠ
저도 좀 알려주실수있을까요..ㅠㅠ