Skip to content

Commit

Permalink
Nerf Default Power Attack (#866)
Browse files Browse the repository at this point in the history
# Description

We had some issues and concerns reported by more than a few server hosts
that having the default right click be *both* a power attack and a wide
swing was extremely undesireable. Since our original intention was to
actually deprecate "Wide Swing" only to a handful of a few weapons
designed around it, the behavior of this is now that power attack with
no wide swing is the default for all weapons. Power attacks are still
easier to aim than left clicks, but can only hit a single target except
on certain weapons, deal bonus damage in exchange for stamina, and have
a narrow 45 degree cone so as to enforce the need to right click at
least relatively near your intended target.

# Changelog

:cl:
- tweak: Wide Swing is no longer possible as a default on all weapons,
the default is now Power Attack (10 stamina spent, for 20% bonus damage
to single target only). Only a small number of weapons designed to
"Cleave", still have their wide swing functionality.
  • Loading branch information
VMSolidus authored Sep 9, 2024
1 parent f8027b5 commit 06771ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public sealed partial class MeleeWeaponComponent : Component
/// Total width of the angle for wide attacks.
/// </summary>
[DataField, AutoNetworkedField]
public Angle Angle = Angle.FromDegrees(60);
public Angle Angle = Angle.FromDegrees(45);

[DataField, AutoNetworkedField]
public EntProtoId Animation = "WeaponArcPunch";
Expand All @@ -131,7 +131,7 @@ public sealed partial class MeleeWeaponComponent : Component
public float HeavyStaminaCost = 10f;

[DataField, AutoNetworkedField]
public int MaxTargets = 5;
public int MaxTargets = 1;

// Sounds

Expand Down

0 comments on commit 06771ea

Please sign in to comment.