From 919a29a41a0c727e16dbe2c6e303c252020e9be8 Mon Sep 17 00:00:00 2001 From: Ino Date: Thu, 15 Jan 2026 11:15:35 +0900 Subject: [PATCH] DoubleShot --- Assets/OneShotOneKill.txt | 2 +- Assets/Script/InGame/Actor/AimArrowController.cs | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Assets/OneShotOneKill.txt b/Assets/OneShotOneKill.txt index 1d77f41..397cdcc 100644 --- a/Assets/OneShotOneKill.txt +++ b/Assets/OneShotOneKill.txt @@ -6,7 +6,7 @@ //ProjectilePierce 투사체가 적을 관통하는 횟수가 증가합니다. //Reflect 투사체 반사 횟수가 +1 증가합니다. //Knockback 타격 된 적을 일정 거리 만큼 밀쳐냅니다. -DoubleShot 같은 방향으로 발사되는 투사체의 수량이 증가합니다. (※연속 발사) +//DoubleShot 같은 방향으로 발사되는 투사체의 수량이 증가합니다. (※연속 발사) Explosion 피격 된 대상을 처치하면 일정 범위에 피해를 입힙니다. (중첩 시 피해량과 범위가 증가) Stun 피해를 입힌 적을 일정 시간(=0.5초) 기절 시킵니다. (※보스 몬스터에게는 적용 안됨) //Bounce 피격 된 대상이 있을 경우, 일정 범위 내 적에게 투사체 1개가 추가로 발사됩니다. diff --git a/Assets/Script/InGame/Actor/AimArrowController.cs b/Assets/Script/InGame/Actor/AimArrowController.cs index 7b7d53b..1d51880 100644 --- a/Assets/Script/InGame/Actor/AimArrowController.cs +++ b/Assets/Script/InGame/Actor/AimArrowController.cs @@ -1,3 +1,4 @@ +using System.Collections; using UnityEngine; using UnityEngine.UI; @@ -31,7 +32,17 @@ public class AimArrowController : MonoBehaviour if (m_attackLifeTime <= 0) { m_attackLifeTime = m_attackTime; + StartCoroutine(Co_Shoot()); + } + } + + IEnumerator Co_Shoot() + { + int count = 1 + (int)IngameMgr.Ins.Get_SkillValue(eSkillType.DoubleShot); + for (int i = 0; i < count; i++) + { Shoot(); + yield return new WaitForSeconds(0.15f); } }