Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Melee Part 5: Less Exhaustion #938

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Content.Shared/Weapons/Melee/MeleeWeaponComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public sealed partial class MeleeWeaponComponent : Component
/// Total width of the angle for wide attacks.
/// </summary>
[DataField, AutoNetworkedField]
public Angle Angle = Angle.FromDegrees(45);
public Angle Angle = Angle.FromDegrees(60);

[DataField, AutoNetworkedField]
public EntProtoId Animation = "WeaponArcPunch";
Expand All @@ -129,10 +129,10 @@ public sealed partial class MeleeWeaponComponent : Component
public bool SwingLeft;

[DataField, AutoNetworkedField]
public float HeavyStaminaCost = 10f;
public float HeavyStaminaCost = 2.5f;

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

// Sounds

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
bluntStaminaDamageFactor: 1.5
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 75
- type: Item
size: Normal
Expand Down Expand Up @@ -67,7 +67,7 @@
bluntStaminaDamageFactor: 1.5
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 75
- type: Item
size: Normal
Expand Down Expand Up @@ -110,7 +110,7 @@
bluntStaminaDamageFactor: 1.5
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 15
heavyStaminaCost: 10
angle: 160
- type: Wieldable
- type: IncreaseDamageOnWield
Expand Down Expand Up @@ -234,7 +234,7 @@
bluntStaminaDamageFactor: 2
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 75

- type: entity
Expand Down
3 changes: 1 addition & 2 deletions Resources/Prototypes/Entities/Objects/Fun/toys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,11 @@
state: icon
- type: MeleeWeapon
attackRate: 1.5
range: 1.3
range: 1.5
damage:
types:
Blunt: 0.1
heavyDamageBaseModifier: 2
heavyStaminaCost: 5
maxTargets: 8
angle: 25
- type: Clothing
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Objects/Misc/broken_bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
components:
- type: Sharp
- type: MeleeWeapon
attackRate: 1.5
range: 1.3
attackRate: 1.4
range: 1.4
damage:
types:
Slash: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
Blunt: 8
heavyRateModifier: 0.8
heavyDamageBaseModifier: 2
heavyStaminaCost: 15
maxTargets: 8
heavyStaminaCost: 7.5
maxTargets: 6
soundHit:
path: /Audio/Weapons/smash.ogg
- type: Tool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
heavyRateModifier: 0.8
heavyDamageBaseModifier: 1
heavyStaminaCost: 5
maxTargets: 3
maxTargets: 4
- type: Tag
tags:
- Book
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
heavyRateModifier: 1
heavyRangeModifier: 1
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 5
maxTargets: 5
angle: 100
- type: Item
Expand All @@ -48,7 +47,6 @@
heavyRateModifier: 0.9
heavyRangeModifier: 1.25
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 5
maxTargets: 1
angle: 20
- type: Item
Expand Down Expand Up @@ -103,7 +101,7 @@
wideAnimationRotation: 135
swingLeft: true
attackRate: 1.25
range: 1.25
range: 1.4
damage:
types:
Slash: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
heavyRateModifier: 0.8
heavyRangeModifier: 1.25
heavyDamageBaseModifier: 1.25
heavyStaminaCost: 10
heavyStaminaCost: 7.5
maxTargets: 2
angle: 180
soundHit:
Expand Down Expand Up @@ -64,7 +64,7 @@
heavyRateModifier: 0.8
heavyRangeModifier: 1.25
heavyDamageBaseModifier: 1.25
heavyStaminaCost: 10
heavyStaminaCost: 7.5
maxTargets: 2
angle: 180
soundHit:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- 1,1,1,1
- type: MeleeWeapon
attackRate: 0.75
range: 1.3
range: 1.4
damage:
types:
Piercing: 8
Expand Down Expand Up @@ -87,7 +87,7 @@
wideAnimationRotation: 90
swingLeft: true
attackRate: 1.25
range: 1.25
range: 1.4
damage:
types:
Slash: 7.5
Expand Down Expand Up @@ -208,7 +208,8 @@
heavyStaminaCost: 20
maxTargets: 8
angle: 20
# ~~No melee for regular saw because have you ever seen someone use a band saw as a weapon? It's dumb.~~ No, I'm going to saw through your bones.
# --No melee for regular saw because have you ever seen someone use a band saw as a weapon? It's dumb.--
# No, I'm going to saw through your bones.

- type: entity
name: choppa
Expand Down Expand Up @@ -252,15 +253,15 @@
storedRotation: 90
- type: MeleeWeapon
attackRate: 1.15
range: 1.4
range: 1.5
bluntStaminaDamageFactor: 3.0
damage:
types:
Blunt: 4.5
Slash: 5.5
heavyRateModifier: 0.5
heavyDamageBaseModifier: 1
heavyStaminaCost: 15
heavyStaminaCost: 10
maxTargets: 8
angle: 360
soundHit:
Expand All @@ -282,16 +283,16 @@
heldPrefix: advanced
storedRotation: 90
- type: MeleeWeapon
attackRate: 1.25
range: 1.4
attackRate: 1.15
range: 1.5
bluntStaminaDamageFactor: 5.0
damage:
types:
Blunt: 4.5
Slash: 7.5
heavyRateModifier: 0.5
heavyDamageBaseModifier: 1
heavyStaminaCost: 15
heavyStaminaCost: 10
maxTargets: 8
angle: 360
soundHit:
Expand Down
3 changes: 1 addition & 2 deletions Resources/Prototypes/Entities/Objects/Tools/flashlights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@
damage:
types:
Blunt: 6.5
bluntStaminaDamageFactor: 1.5
bluntStaminaDamageFactor: 2
heavyRateModifier: 0.9
heavyStaminaCost: 5
maxTargets: 1
angle: 20
soundHit:
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Entities/Objects/Tools/gas_tanks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
bluntStaminaDamageFactor: 2.5
heavyRateModifier: 0.8
heavyDamageBaseModifier: 1.5
heavyStaminaCost: 15
maxTargets: 1
angle: 140
heavyStaminaCost: 10
maxTargets: 3
angle: 100
- type: PhysicalComposition
materialComposition:
Steel: 185
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Entities/Objects/Tools/jaws_of_life.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@
changeSound: /Audio/Items/change_jaws.ogg
- type: MeleeWeapon
wideAnimationRotation: 90
attackRate: 0.75
range: 1.75
attackRate: 0.85
range: 1.65
damage:
types:
Blunt: 10
Slash: 2
bluntStaminaDamageFactor: 2.0
heavyRateModifier: 0.8
heavyDamageBaseModifier: 1.5
heavyStaminaCost: 10
heavyStaminaCost: 5
maxTargets: 1
angle: 20
soundHit:
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Entities/Objects/Tools/toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Blunt: 9
bluntStaminaDamageFactor: 2.0
heavyRateModifier: 0.8
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 80.5
soundHit:
path: "/Audio/Weapons/smash.ogg"
Expand Down
13 changes: 3 additions & 10 deletions Resources/Prototypes/Entities/Objects/Tools/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
Blunt: 6.5
heavyRateModifier: 0.9
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 5
maxTargets: 4
angle: 60
soundHit:
path: "/Audio/Items/wirecutter.ogg"
- type: Tool
Expand Down Expand Up @@ -103,7 +101,6 @@
Piercing: 6
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.5
heavyStaminaCost: 5
maxTargets: 1
angle: 20
soundHit:
Expand Down Expand Up @@ -165,7 +162,6 @@
bluntStaminaDamageFactor: 1.5
heavyRateModifier: 0.75
heavyDamageBaseModifier: 1.75
heavyStaminaCost: 5
angle: 100
soundHit:
collection: MetalThud
Expand Down Expand Up @@ -279,7 +275,6 @@
Shock: 2
heavyRateModifier: 0.9
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 5
maxTargets: 1
angle: 20
- type: Item
Expand Down Expand Up @@ -424,7 +419,6 @@
Piercing: 8
heavyRateModifier: 0.9
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 5
maxTargets: 1
angle: 20
soundHit:
Expand Down Expand Up @@ -641,14 +635,14 @@
- type: MeleeWeapon
wideAnimationRotation: 45
attackRate: 0.8
range: 2.0
range: 1.75
damage:
types:
Blunt: 8
bluntStaminaDamageFactor: 1.5
heavyRateModifier: 0.9
heavyDamageBaseModifier: 1.5
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 100
soundHit:
collection: MetalThud
Expand Down Expand Up @@ -696,8 +690,7 @@
bluntStaminaDamageFactor: 2.0
heavyRateModifier: 0.8
heavyDamageBaseModifier: 1.5
heavyStaminaCost: 5
maxTargets: 1
maxTargets: 2
angle: 20
soundHit:
collection: MetalThud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
bluntStaminaDamageFactor: 2.0
heavyRateModifier: 0.5
heavyDamageBaseModifier: 1.75
heavyStaminaCost: 15
heavyStaminaCost: 10
maxTargets: 2
angle: 120
soundHit:
Expand Down
10 changes: 5 additions & 5 deletions Resources/Prototypes/Entities/Objects/Weapons/Melee/cult.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- type: MeleeWeapon
wideAnimationRotation: -135
attackRate: 1.25
range: 1.4
range: 1.5
damage:
types:
Slash: 8
Expand Down Expand Up @@ -39,12 +39,12 @@
- type: MeleeWeapon
wideAnimationRotation: -135
attackRate: 0.75
range: 1.75
range: 1.65
damage:
types:
Slash: 12
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 10
heavyStaminaCost: 7.5
maxTargets: 6
angle: 90
- type: Item
Expand All @@ -70,7 +70,7 @@
state: icon
- type: MeleeWeapon
wideAnimationRotation: -135
attackRate: 0.75
attackRate: 0.85
range: 1.75
damage:
types:
Expand All @@ -79,7 +79,7 @@
Structural: 5
heavyRateModifier: 0.9
heavyDamageBaseModifier: 1.2
heavyStaminaCost: 10
heavyStaminaCost: 7.5
angle: 100
soundHit:
collection: MetalThud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
bluntStaminaDamageFactor: 2.0
heavyRateModifier: 0.5
heavyDamageBaseModifier: 1.75
heavyStaminaCost: 25
maxTargets: 2
heavyStaminaCost: 15
angle: 120
soundHit:
collection: ExplosionSmall
Expand Down
Loading
Loading