[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
왜 먹통되는지 모르겠음 알려줘!
제목 | 작성자 | 작성일 | 조회 | |
---|---|---|---|---|
공지 | 게시판 이용 안내+151 | 10-20 | 21358 | |
61248 | 08-24 | 87 | ||
61247 | 08-24 | 150 | ||
61246 | 08-24 | 84 | ||
61245 | 08-24 | 114 | ||
61244 | 08-24 | 111 | ||
61243 | 08-24 | 153 | ||
61242 | 08-24 | 159 | ||
61241 | 08-23 | 342 | ||
61240 | 08-23 | 291 | ||
61239 | 08-23 | 261 | ||
61238 | 08-23 | 227 | ||
61237 | 08-23 | 335 | ||
61236 | 08-23 | 254 | ||
61235 | 08-23 | 247 | ||
61234 | 08-23 | 285 | ||
61233 | 08-23 | 272 | ||
61232 | 08-23 | 333 | ||
61231 | 08-23 | 402 | ||
61230 | 08-23 | 387 |
댓글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