// Assets/_Project/Scripts/Gameplay/BuffDefinition.cs using UnityEngine; using TD.Core; namespace TD.Gameplay { /// /// One possible buff that can be awarded to a player. Lives in a /// 's pool and is drawn randomly on purchase. /// [CreateAssetMenu(fileName = "BuffDefinition", menuName = "TD/Buffs/Buff Definition")] public class BuffDefinition : ScriptableObject { [Tooltip("Name shown in the buff menu and tooltip.")] public string DisplayName; [Tooltip("Which tower stat this buff multiplies.")] public BuffStat Stat; [Tooltip("Multiplicative factor applied to the stat. 1.25 = +25%.")] [Min(1f)] public float Multiplier = 1.25f; } }