-------------------물약 -------------------
[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
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 29211 | 02-05 | 506 | ||
| 29210 | 핵매소삼+1 | 02-05 | 397 | |
| 29209 | 02-05 | 595 | ||
| 29208 | 02-05 | 371 | ||
| 29207 | 02-05 | 534 | ||
| 29206 | 02-05 | 451 | ||
| 29205 | 02-05 | 406 | ||
| 29204 | 02-05 | 474 | ||
| 29203 | 02-05 | 515 | ||
| 29202 | 02-05 | 386 | ||
| 29201 | 02-05 | 543 | ||
| 29200 | 02-05 | 507 | ||
| 29199 | 저정도핵이면+2 | 02-05 | 664 | |
| 29198 | 02-05 | 356 | ||
| 29197 | 02-05 | 328 | ||
| 29196 | 02-05 | 405 | ||
| 29195 | 메랜 핵 판매+1 | 02-05 | 402 | |
| 29194 | 02-05 | 357 | ||
| 29193 | 02-05 | 1154 | ||
| 29192 | 02-05 | 470 |
댓글6
이래저래 해봤는데 도저히 모루겟
1:1주세여
걸어주실수잇나요 ㅠㅠ
제가 이 코드 자동물약있습니다 명령어하고 온오프 버튼만있으면 구동가능하네요
좀 알려주시면 안댈까용? ㅠㅠ 1대1은 포가없어서 못걸어요 ㅠㅠ
저도 좀 알려주실수있을까요..ㅠㅠ