Skip to content

Commit

Permalink
Default ContestArgs for Melee
Browse files Browse the repository at this point in the history
  • Loading branch information
VMSolidus committed Sep 19, 2024
1 parent 1c02192 commit c3cbae3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,15 @@ public sealed partial class MeleeWeaponComponent : Component
/// Arguments for the MeleeContestInteractions constructor
/// </summary>
[DataField]
public ContestArgs ContestArgs = default!;
public ContestArgs ContestArgs = new ContestArgs
{
DoStaminaInteraction = true,
StaminaDisadvantage = true,
StaminaRangeModifier = 2,
StaminaOffset = 0.25f,
DoHealthInteraction = true,
HealthRangeModifier = 1.5f,
};
}

/// <summary>
Expand Down

0 comments on commit c3cbae3

Please sign in to comment.