21 lines
930 B
C#
21 lines
930 B
C#
// 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;
|
|
}
|
|
}
|