slow area upgrade test
This commit is contained in:
parent
db9c828e63
commit
2de6d85b2f
5 changed files with 28 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 37cc60a4a6e53e24cb6d1c0be310868a
|
||||
Loading…
Add table
Add a link
Reference in a new issue