Add some documentation to support powers.

This commit is contained in:
Taryn Hill
2015-03-10 00:11:59 -05:00
parent 762c0e12a2
commit 51e470e64c
2 changed files with 7 additions and 2 deletions

View File

@@ -19,10 +19,12 @@ namespace OpenRA.Mods.RA.Traits
{
class ChronoshiftPowerInfo : SupportPowerInfo
{
[Desc("Cells")]
[Desc("Target actor selection radius in cells.")]
public readonly int Range = 1;
[Desc("Seconds")]
[Desc("Seconds until returning after teleportation.")]
public readonly int Duration = 30;
public readonly bool KillCargo = true;
public override object Create(ActorInitializer init) { return new ChronoshiftPower(init.Self, this); }