-------------------물약 -------------------
[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 | 22377 | |
| 61790 | 12-26 | 119 | ||
| 61789 | 12-25 | 228 | ||
| 61788 | 12-25 | 237 | ||
| 61787 | 12-24 | 514 | ||
| 61786 | 12-23 | 783 | ||
| 61785 | 12-22 | 840 | ||
| 61784 | 12-22 | 941 | ||
| 61783 | 12-22 | 839 | ||
| 61782 | 12-21 | 922 | ||
| 61781 | 12-21 | 1071 | ||
| 61780 | 12-21 | 999 | ||
| 61779 | 12-19 | 1193 | ||
| 61778 | 12-18 | 1299 | ||
| 61777 | 12-18 | 1847 | ||
| 61776 | 12-16 | 1803 | ||
| 61775 | 12-14 | 1912 | ||
| 61774 | 12-14 | 2267 | ||
| 61773 | 12-14 | 2168 | ||
| 61772 | 12-13 | 2027 |
댓글6
이래저래 해봤는데 도저히 모루겟
1:1주세여
걸어주실수잇나요 ㅠㅠ
제가 이 코드 자동물약있습니다 명령어하고 온오프 버튼만있으면 구동가능하네요
좀 알려주시면 안댈까용? ㅠㅠ 1대1은 포가없어서 못걸어요 ㅠㅠ
저도 좀 알려주실수있을까요..ㅠㅠ