Welder Blindness Effect Increase (#22304)
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Content.Client.Eye.Blinding
|
||||
// Maybe gradually shrink the view-size?
|
||||
// Make the effect only apply to the edge of the viewport?
|
||||
// Actually make it blurry??
|
||||
var opacity = 0.75f * _magnitude / BlurryVisionComponent.MaxMagnitude;
|
||||
var opacity = 1f * _magnitude / BlurryVisionComponent.MaxMagnitude;
|
||||
var worldHandle = args.WorldHandle;
|
||||
var viewport = args.WorldBounds;
|
||||
worldHandle.SetTransform(Matrix3.Identity);
|
||||
|
||||
@@ -24,7 +24,7 @@ public sealed partial class BlindableComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("EyeDamage"), AutoNetworkedField]
|
||||
public int EyeDamage = 0;
|
||||
|
||||
public const int MaxDamage = 8;
|
||||
public const int MaxDamage = 3;
|
||||
|
||||
/// <description>
|
||||
/// Used to ensure that this doesn't break with sandbox or admin tools.
|
||||
|
||||
@@ -17,5 +17,5 @@ public sealed partial class BlurryVisionComponent : Component
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("magnitude"), AutoNetworkedField]
|
||||
public float Magnitude;
|
||||
|
||||
public const float MaxMagnitude = 10;
|
||||
public const float MaxMagnitude = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user