fix(BT12-Dev): A08 시전·피격 FX 진단 Debug.Log (PD 보고 2026-05-13·회수 의무)

A08.asset 영역 ProjectilePrefab·OnHitFxPrefab·CastFxPrefab GUID 정합 측정 정합·코드 정합. 그러나 PD 영역 시전·피격 X 보고 → 실측 진단 필요.

진단 Log 2종 (회수 의무·PD Console 측정 후 본 PM revert):
- ProjectileSpawner.Trigger — [ProjectileSpawner] card·CastFx·ProjPrefab·OnHitFx 매핑 측정·CastFx spawn 확인
- Projectile.OnHit — [Projectile] OnHit card·OnHitFx spawn name·pos 확인

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
깃 관리자 2026-05-13 23:29:57 +09:00
parent 71c3b7d5da
commit aa6cef1a7f
2 changed files with 5 additions and 0 deletions

View File

@ -219,6 +219,8 @@ namespace EerieVillage.Skills.Effectors
// PD 지시 2026-05-13 — ParticleSystem 명시 Play // PD 지시 2026-05-13 — ParticleSystem 명시 Play
foreach (var ps in fx.GetComponentsInChildren<ParticleSystem>(true)) ps.Play(true); foreach (var ps in fx.GetComponentsInChildren<ParticleSystem>(true)) ps.Play(true);
AutoDestroyOnParticleEnd(fx); AutoDestroyOnParticleEnd(fx);
// PD 지시 2026-05-13 — 진단 (회수 의무)
Debug.Log($"[Projectile] OnHit card={_data.CardId} OnHitFx spawned name={fx.name} pos=({fx.transform.position.x:F2},{fx.transform.position.y:F2})");
} }
// 부가 효과 (DoT·Stun·Slow·DebuffStack) — StatusApplier 위임 // 부가 효과 (DoT·Stun·Slow·DebuffStack) — StatusApplier 위임

View File

@ -36,6 +36,8 @@ namespace EerieVillage.Skills.Effectors
+ data.OffsetXY; + data.OffsetXY;
// PD 지시 2026-05-13 — 시전 FX (A08 저주의 화살 등) Player 위치 spawn // PD 지시 2026-05-13 — 시전 FX (A08 저주의 화살 등) Player 위치 spawn
// PD 지시 2026-05-13 — 진단 (회수 의무): CastFx·ProjectilePrefab·OnHitFx 영역 매핑 측정
UnityEngine.Debug.Log($"[ProjectileSpawner] card={data.CardId} CastFx={(data.CastFxPrefab != null ? data.CastFxPrefab.name : \"NULL\")} ProjPrefab={(data.ProjectilePrefab != null ? data.ProjectilePrefab.name : \"NULL\")} OnHitFx={(data.OnHitFxPrefab != null ? data.OnHitFxPrefab.name : \"NULL\")}");
if (data.CastFxPrefab != null) if (data.CastFxPrefab != null)
{ {
var castFx = Object.Instantiate(data.CastFxPrefab, playerTransform.position, Quaternion.Euler(0f, 0f, data.FxRotation)); var castFx = Object.Instantiate(data.CastFxPrefab, playerTransform.position, Quaternion.Euler(0f, 0f, data.FxRotation));
@ -44,6 +46,7 @@ namespace EerieVillage.Skills.Effectors
// PD 지시 2026-05-13 — ParticleSystem 명시 Play // PD 지시 2026-05-13 — ParticleSystem 명시 Play
foreach (var ps in castFx.GetComponentsInChildren<ParticleSystem>(true)) ps.Play(true); foreach (var ps in castFx.GetComponentsInChildren<ParticleSystem>(true)) ps.Play(true);
FxAutoDestroyUnscaled.Attach(castFx, 2f); FxAutoDestroyUnscaled.Attach(castFx, 2f);
UnityEngine.Debug.Log($"[ProjectileSpawner] CastFx spawned name={castFx.name} pos=({castFx.transform.position.x:F2},{castFx.transform.position.y:F2})");
} }
// 프리팹 로드 (data.ProjectilePrefab 우선·없으면 fallback) // 프리팹 로드 (data.ProjectilePrefab 우선·없으면 fallback)