Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -28,14 +28,17 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
[Desc("The percentage of damage that is received while this actor is closed.")]
|
||||
public readonly int ClosedDamageMultiplier = 50;
|
||||
|
||||
[SequenceReference]
|
||||
[Desc("Sequence to play when opening.")]
|
||||
[SequenceReference] public readonly string OpeningSequence = "opening";
|
||||
public readonly string OpeningSequence = "opening";
|
||||
|
||||
[SequenceReference]
|
||||
[Desc("Sequence to play when closing.")]
|
||||
[SequenceReference] public readonly string ClosingSequence = "closing";
|
||||
public readonly string ClosingSequence = "closing";
|
||||
|
||||
[SequenceReference]
|
||||
[Desc("Idle sequence to play when closed.")]
|
||||
[SequenceReference] public readonly string ClosedIdleSequence = "closed-idle";
|
||||
public readonly string ClosedIdleSequence = "closed-idle";
|
||||
|
||||
[Desc("Which sprite body to play the animation on.")]
|
||||
public readonly string Body = "body";
|
||||
|
||||
@@ -41,8 +41,11 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
{
|
||||
readonly AttackTeslaInfo info;
|
||||
|
||||
[Sync] int charges;
|
||||
[Sync] int timeToRecharge;
|
||||
[Sync]
|
||||
int charges;
|
||||
|
||||
[Sync]
|
||||
int timeToRecharge;
|
||||
|
||||
public AttackTesla(Actor self, AttackTeslaInfo info)
|
||||
: base(self, info)
|
||||
|
||||
Reference in New Issue
Block a user