convert game playing..
This commit is contained in:
@@ -5,6 +5,17 @@ namespace BumpCombat.Constants
|
||||
[CreateAssetMenu(menuName = "BumpCombat/Constants/Combat")]
|
||||
public sealed class CombatConstants : ScriptableObject
|
||||
{
|
||||
[Header("정면 몸통박치기 접촉 피해")]
|
||||
[SerializeField, Tooltip("OFF: 정면 몸통박치기 자체 피해 없음. ON: 이전 enemy.ContactDamage를 PlayerHealth.TryTakeDamage로 전달해 일반 무적·가드·피격 넉백을 적용하며 EnemyAttack는 영향 없음.")]
|
||||
private bool enableFrontalBumpSelfDamage;
|
||||
|
||||
public bool EnableFrontalBumpSelfDamage
|
||||
{
|
||||
get => enableFrontalBumpSelfDamage;
|
||||
set => enableFrontalBumpSelfDamage = value;
|
||||
}
|
||||
|
||||
|
||||
[Header("몸통박치기 방향 판정")]
|
||||
[Tooltip("적 정면으로 분류하는 방향 내적 기준"), Range(-1f, 1f)] public float FrontThreshold = 0.707f;
|
||||
[Tooltip("적 후방으로 분류하는 방향 내적 기준"), Range(-1f, 1f)] public float BackThreshold = -0.5f;
|
||||
|
||||
Reference in New Issue
Block a user