USE_MUL = "물약";/물약
------------------------------------------------상단
[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)
else
_TimerService:ClearTimer(zz_y7.use_mul_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
진짜다줫다
댓글8
올 복사붙여넣기하면대여?
그건아니지
어디서부터 복사해요?
그럼 어디서복사말고어디서부터 넣는지만 알려주세여ㅠㅠ
롱롱님 사례비드리고 혹시 스크립트좀 만져주실수있나요?
왜 안돼!!
ㄹㅇ 다줬네 저거 가지고 못하면 포기하셈...
어느정도 다 넣은거같은데 왜 안돼지