if zz_y7.use_mouse_tp then
if _InputService:IsPointerOverUI() then
return
end
--_ChatMessageLogic:Add(_ChatMessageType.System, "cursor: " .. _InputService:GetCursorPosition())
--local cursor_pos = _UILogic.ScreenToWorldPosition(_InputService:GetCursorPosition())
--_ChatMessageLogic:Add(_ChatMessageType.System, "teleporting!!")
local cursor = _InputService:GetCursorPosition()
--_ChatMessageLogic:Add(_ChatMessageType.System, "-> " .. cursor.x .. " " .. cursor.y)
local cursor_world_pos = _UILogic:ScreenToWorldPosition(cursor)
--_ChatMessageLogic:Add(_ChatMessageType.System, "=> " .. cursor_world_pos.x .. " " .. cursor_world_pos.y)
_UserService.LocalPlayer.TransformComponent.WorldPosition = cursor_world_pos:ToVector3()
end
------------ zz_y7 ------------
if (user.WsUser:IsAvailablePlayerMovement()) then
if (_InputManager:IsPressed(_FuncKeySystemType.Attack)) then
local darkSight = user.PlayerTemporaryStat:GetValue(_CTS.DarkSight) > 0
if (darkSight) then
local reason = user.PlayerTemporaryStat:GetReason(_CTS.DarkSight)
_UserSkillLogic:TryCancelTemporaryStat(user, reason)
_InputManager:MarkNoKeyInputFuncKey(_FuncKeyTypes.System, _FuncKeySystemType.Attack)
else
local currentState = user.StateComponent.CurrentStateName
if (currentState ~= "SIT") then
local shootAttack = _PlayerAttackLogic:CheckAvailableShootAttack(user, 0, 0)
if (shootAttack) then
local output = {}
if (_PlayerAttackLogic_Melee:TryDoingMeleeAttack(user, 0, 0, output, 0) == 0) then
_PlayerAttackLogic_Shoot:TryDoingShootAttack(user, 0, 0, output.ShootRange)
end
else
_PlayerAttackLogic_Melee:TryDoingMeleeAttack(user, 0, 0, nil, 0)
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22384 | |
| 61793 | 03:20 | 42 | ||
| 61792 | 12-28 | 322 | ||
| 61791 | 12-28 | 389 | ||
| 61790 | 12-26 | 631 | ||
| 61789 | 12-25 | 773 | ||
| 61788 | 12-25 | 721 | ||
| 61787 | 12-24 | 1009 | ||
| 61786 | 12-23 | 1348 | ||
| 61785 | 12-22 | 1353 | ||
| 61784 | 12-22 | 1497 | ||
| 61783 | 12-22 | 1324 | ||
| 61782 | 12-21 | 1389 | ||
| 61781 | 12-21 | 1559 | ||
| 61780 | 12-21 | 1474 | ||
| 61779 | 12-19 | 1671 | ||
| 61778 | 12-18 | 1763 | ||
| 61777 | 12-18 | 2384 | ||
| 61776 | 12-16 | 2276 | ||
| 61775 | 12-14 | 2368 |
댓글2
마박
아맞네 이거물어보려던게아니엿음