Files
wwdpublic/Content.Shared/Traits/Assorted/Components/DeadModifierComponent.cs
VMSolidus 79b3190683 NyanoCombat 2, Part 3: Physical Traits (#607)
# Description

Done in partnership with @OldDanceJacket 

This PR adds 9 additional physical traits to the game, 5 positive, and 4
negative. While this PR is intended to go with NyanoCombat 2, Part 1 and
2, I have made this PR function completely standalone. It does not
require either of the two other PRs.

## Positive Traits
- **Will To Live**: Increases your Dead threshold by 10
- **Tenacity**: Increases your Crit threshold by 5
- **Vigor**: Increases your maximum Stamina by 10
- **High Adrenaline**: You gain up to 10% more damage with all melee
attacks when injured.
- **Masochism**: You ignore the first 10% of stamina damage penalties to
melee attacks. If NyanoCombat 2 Part 1 isn't merged yet, this makes you
deal up to 10% more melee damage when you receive stamina damage.
- **Martial Artist**: Your unarmed melee attacks have bonus range, and
deal 50% more damage(for every species in the game, this means 7.5
instead of 5 damage). This trait is identical to one that the Boxer job
receives for free, thus it cannot be taken by Boxers.

## Negative Traits
- **Will To Die**: Decreases your Dead threshold by 15
- **Glass Jaw**: Decreases your Crit Threshold by 10
- **Lethargy**: Decreases your maximum Stamina by 15
- **Adrenal Dysfunction**: Your melee attacks are penalized by up to 20%
when injured. If NyanoCombat 2 Part 1 is merged, this cancels out the
natural bonus everyone globally gets to melee when injured.
- **Low Pain Tolerance**: Your melee attacks are penalized by up to 15%
when receiving stamina damage. If NyanoCombat 2 Part 1 is merged, this
stacks with the natural penalties everyone globally gets to melee when
taking stamina damage.


# TODO

- [ ] Let ODJ look over these for balance.

# Media


![image](https://github.com/user-attachments/assets/242e8b50-8a5e-4079-bf1d-f952ceeade38)

# Changelog

🆑 VMSolidus and Skubman
- add: 11 new Physical Traits have been added to the game! 6 positive
traits, and 5 negative traits.

---------

Signed-off-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
Co-authored-by: Angelo Fallaria <ba.fallaria@gmail.com>
Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
2024-08-10 14:36:09 -07:00

16 lines
479 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Traits.Assorted.Components;
/// <summary>
/// This is used for any trait that modifies DeadThreshold
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed partial class DeadModifierComponent : Component
{
/// <summary>
/// The amount that an entity's DeadThreshold will be incremented by.
/// </summary>
[DataField]
public int DeadThresholdModifier { get; private set; } = 0;
}