29 lines
899 B
C#
29 lines
899 B
C#
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace Code.Configs
|
|
{
|
|
[CreateAssetMenu(menuName = "Config/Enemies/DrunkenGrandpa", fileName = "DrunkenGrandpaConfig")]
|
|
public class DrunkenGrandpaConfig : ScriptableObject
|
|
{
|
|
public AssetReference drunkenGrandpaPrefab;
|
|
|
|
public int damage = 2;
|
|
public float attackCooldown = 5f;
|
|
|
|
public float detectionRange = 10f;
|
|
public float attackRange = 1.5f;
|
|
|
|
public float speed = 3f;
|
|
|
|
public bool isStunnable = true;
|
|
public float stunDuration = 3f;
|
|
|
|
public bool usesIdleMovement = true;
|
|
public float idleWanderRadius = 5f;
|
|
public float idleMoveDurationMin = 1f;
|
|
public float idleMoveDurationMax = 5f;
|
|
public float idlePauseDurationMin = 3f;
|
|
public float idlePauseDurationMax = 5f;
|
|
}
|
|
} |