Added back the DescAttributes on projectiles' Inaccuracy fields

This commit is contained in:
Pavel Penev
2020-05-03 04:05:31 +03:00
committed by Matthias Mailänder
parent 76dfda164e
commit d866286f82
6 changed files with 6 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ namespace OpenRA.Mods.Common.Projectiles
[Desc("Simple, invisible, usually direct-on-target projectile.")]
public class InstantHitInfo : IProjectileInfo
{
[Desc("The maximum/constant/incremental inaccuracy used in conjunction with the InaccuracyType property.")]
public readonly WDist Inaccuracy = WDist.Zero;
[Desc("Controls the way inaccuracy is calculated. Possible values are 'Maximum' - scale from 0 to max with range, 'PerCellIncrement' - scale from 0 with range and 'Absolute' - use set value regardless of range.")]