Run spell check over solution.

This commit is contained in:
RoosterDragon
2025-02-15 14:50:31 +00:00
committed by Matthias Mailänder
parent ebf90970b2
commit 96de59f75a
20 changed files with 25 additions and 25 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly BitSet<TargetableType> AwayFromEnemyTargetTypes = default;
[Desc("Minefield location check distance to AwayFromAlliedTargettype and AwayFromEnemyTargettype.",
"In addition, if any emeny actor within this range and minefield location is not cancelled,",
"In addition, if any enemy actor within this range and minefield location is not cancelled,",
"minelayer will try lay mines at the 3/4 path to minefield location")]
public readonly int AwayFromCellDistance = 9;

View File

@@ -37,7 +37,7 @@ namespace OpenRA.Mods.Common.Traits
[Desc("The amount of charge that needs to be present to turn on the condition. " +
"If set to -1, threshold is set to full charge. " +
"If activated without full charge " + nameof(ConditionDuration) + " is percentally smaller.")]
"If activated without full charge " + nameof(ConditionDuration) + " is proportionally smaller.")]
public readonly int ChargeThreshhold = -1;
[Desc("How long (in ticks) should the condition stay active?")]

View File

@@ -170,7 +170,7 @@ namespace OpenRA.Mods.Common.Traits
if (IsTraitDisabled)
return;
// Work around for actors changin owner within the region.
// Work around for actors changing owner within the region.
if ((actor.CenterPosition - self.CenterPosition).HorizontalLengthSquared <= Info.Range.LengthSquared)
{
var hasRelationship = Info.ValidRelationships.HasRelationship(self.Owner.RelationshipWith(actor.Owner));

View File

@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Common.Traits
}
}
/// <summary>In addition returns true if reservation was succesful or we have already been reserved at <paramref name="host"/>.</summary>
/// <summary>In addition returns true if reservation was successful or we have already been reserved at <paramref name="host"/>.</summary>
public bool ReserveHost(Actor hostActor, IDockHost host)
{
if (host == null)
@@ -231,7 +231,7 @@ namespace OpenRA.Mods.Common.Traits
return !IsTraitDisabled && dockClients.Any(client => client.CanDock(type, forceEnter));
}
/// <summary>Does this <paramref name="target"/> contain at least one enabled <see cref="IDockHost"/> with maching <see cref="DockType"/>.</summary>
/// <summary>Does this <paramref name="target"/> contain at least one enabled <see cref="IDockHost"/> with matching <see cref="DockType"/>.</summary>
public bool CanDock(Actor target, bool forceEnter = false)
{
return !IsTraitDisabled &&

View File

@@ -379,7 +379,7 @@ namespace OpenRA.Mods.Common.Traits
if (buildableNames.Contains(Queue[i].Item))
continue;
// Refund spended resources
// Refund spent resources
if (Queue[i].ResourcesPaid > 0)
{
playerResources.GiveResources(Queue[i].ResourcesPaid);