slow area upgrade test

This commit is contained in:
Ian Woods 2026-07-25 23:22:11 -07:00
parent db9c828e63
commit 2de6d85b2f
5 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,21 @@
// Assets/_Project/Scripts/Gameplay/BuilderSpells/SlowAreaUpgradedSpellDefinition.cs
using TD.Core;
using UnityEngine;
namespace TD.Gameplay.BuilderSpells
{
/// <summary>
/// Draft upgrade for <see cref="SlowAreaSpellDefinition"/> — identical behavior, just a
/// distinct <see cref="BuilderSpellKind"/> so <see
/// cref="TD.Gameplay.Draft.BuilderSpellUpgradeDraftOption"/> can replace the base spell
/// with this one in the player's loadout. All fields (SlowFactor, EffectDuration, etc.)
/// are inherited; author this asset with a longer EffectDuration than the base spell.
/// </summary>
[CreateAssetMenu(fileName = "SlowAreaUpgradedSpell",
menuName = "TD/Builder Spells/Slow Area (Upgraded)")]
public class SlowAreaUpgradedSpellDefinition : SlowAreaSpellDefinition
{
public override BuilderSpellKind Kind => BuilderSpellKind.SlowAreaUpgraded;
}
}