[zz_y7_const.BUFF] = function(self)
zz_y7.use_buff = not zz_y7.use_buff
if zz_y7.use_buff then
zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 20)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer)
end
print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
end,
[zz_y7_const.BUFF2] = function(self)
zz_y7.use_buff2 = not zz_y7.use_buff2
if zz_y7.use_buff2 then
zz_y7.auto_buff2_timer = _TimerService:SetTimerRepeat(zz_y7.buff2_func, 25)
else
_TimerService:ClearTimer(zz_y7.auto_buff2_timer)
end
print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)
end,/버프 메디테이션
/버프2 매직가드
--------- custom functions ---------
zz_y7.is_hpmp = function()
local user = _UserService.LocalPlayer.WsUser
return user.Hp,user.Mp
end
zz_y7.buff_func = function(self)
if zz_y7.use_buff then
_PlayerActiveSkillLogic:DoActiveSkill(2101001, false)
end
end
zz_y7.buff2_func = function(self)
if zz_y7.use_buff2 then
_PlayerActiveSkillLogic:DoActiveSkill(2001002, false)
end
end
왜 먹통되는지 모르겠음 알려줘!
댓글1
[zz_y7_const.BUFF] = function(self)
zz_y7.use_buff = not zz_y7.use_buff
if zz_y7.use_buff then
zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 20)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer)
end
print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
end,
[zz_y7_const.BUFF2] = function(self)
zz_y7.use_buff2 = not zz_y7.use_buff2
if zz_y7.use_buff2 then
zz_y7.auto_buff2_timer = _TimerService:SetTimerRepeat(zz_y7.buff2_func, 25)
else
_TimerService:ClearTimer(zz_y7.auto_buff2_timer)
end
print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)
end,
/버프 메디테이션
/버프2 매직가드
--------- custom functions ---------
zz_y7.is_hpmp = function()
local user = _UserService.LocalPlayer.WsUser
return user.Hp,user.Mp
end
zz_y7.buff_func = function(self)
if zz_y7.use_buff then
_PlayerActiveSkillLogic:DoActiveSkill(2101001, false)
end
end
zz_y7.buff2_func = function(self)
if zz_y7.use_buff2 then
_PlayerActiveSkillLogic:DoActiveSkill(2001002, false)
end
end