[Effect] 스킬 이펙트 디버그 로그 제거
불필요한 Debug.Log 및 Debug.LogWarning 호출 제거로 프로덕션 로그 정리 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -18,21 +18,12 @@ namespace Colosseum.Skills.Effects
|
||||
{
|
||||
if (target == null) return;
|
||||
|
||||
if (abnormalityData == null)
|
||||
{
|
||||
Debug.LogWarning($"[AbnormalityEffect] AbnormalityData is not assigned");
|
||||
return;
|
||||
}
|
||||
if (abnormalityData == null) return;
|
||||
|
||||
var abnormalityManager = target.GetComponent<AbnormalityManager>();
|
||||
if (abnormalityManager == null)
|
||||
{
|
||||
Debug.LogWarning($"[AbnormalityEffect] Target {target.name} has no AbnormalityManager");
|
||||
return;
|
||||
}
|
||||
if (abnormalityManager == null) return;
|
||||
|
||||
abnormalityManager.ApplyAbnormality(abnormalityData, caster);
|
||||
Debug.Log($"[AbnormalityEffect] Applied {abnormalityData.abnormalityName} to {target.name} from {caster?.name ?? "unknown"}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -41,8 +41,6 @@ namespace Colosseum.Skills.Effects
|
||||
{
|
||||
damageable.TakeDamage(totalDamage, caster);
|
||||
}
|
||||
|
||||
Debug.Log($"[Damage] {caster.name} -> {target.name}: {totalDamage:F1} ({damageType})");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -29,8 +29,6 @@ namespace Colosseum.Skills.Effects
|
||||
{
|
||||
damageable.Heal(totalHeal);
|
||||
}
|
||||
|
||||
Debug.Log($"[Heal] {caster.name} -> {target.name}: {totalHeal:F1}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -25,8 +25,6 @@ namespace Colosseum.Skills.Effects
|
||||
// TODO: 실제 물리 시스템 연동
|
||||
// if (target.TryGetComponent<Rigidbody>(out var rb))
|
||||
// rb.AddForce(knockback, ForceMode.Impulse);
|
||||
|
||||
Debug.Log($"[Knockback] {target.name}: {knockback}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user