Add missing descriptions to AirstrikePower and ParatroopersPower

This commit is contained in:
Gustas
2024-01-16 12:59:54 +02:00
committed by abcdefg30
parent 87aa7c11c5
commit 29c4aebe19
2 changed files with 18 additions and 3 deletions

View File

@@ -19,11 +19,17 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Common.Traits
{
[Desc("Support power that spawns and delivers units to the desired location via aircraft.")]
public class ParatroopersPowerInfo : DirectionalSupportPowerInfo
{
[ActorReference(typeof(AircraftInfo))]
[Desc("Aircraft used to deliver the drop.")]
public readonly string UnitType = "badr";
[Desc("Number of aircraft to use in the formation.")]
public readonly int SquadSize = 1;
[Desc("Distance between the aircraft in a formation.")]
public readonly WVec SquadOffset = new(-1536, 1536, 0);
[NotificationReference("Speech")]