-------------------물약 -------------------
[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
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 29208 | 02-05 | 358 | ||
| 29207 | 02-05 | 515 | ||
| 29206 | 02-05 | 436 | ||
| 29205 | 02-05 | 393 | ||
| 29204 | 02-05 | 466 | ||
| 29203 | 02-05 | 497 | ||
| 29202 | 02-05 | 373 | ||
| 29201 | 02-05 | 532 | ||
| 29200 | 02-05 | 490 | ||
| 29199 | 저정도핵이면+2 | 02-05 | 648 | |
| 29198 | 02-05 | 342 | ||
| 29197 | 02-05 | 317 | ||
| 29196 | 02-05 | 393 | ||
| 29195 | 메랜 핵 판매+1 | 02-05 | 392 | |
| 29194 | 02-05 | 346 | ||
| 29193 | 02-05 | 1134 | ||
| 29192 | 02-05 | 455 | ||
| 29191 | 02-05 | 365 | ||
| 29190 | 02-05 | 340 | ||
| 29189 | 핵메소 삽니다+5 | 02-05 | 373 |
댓글6
이래저래 해봤는데 도저히 모루겟
1:1주세여
걸어주실수잇나요 ㅠㅠ
제가 이 코드 자동물약있습니다 명령어하고 온오프 버튼만있으면 구동가능하네요
좀 알려주시면 안댈까용? ㅠㅠ 1대1은 포가없어서 못걸어요 ㅠㅠ
저도 좀 알려주실수있을까요..ㅠㅠ