mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-18 05:59:03 +03:00
# Description Adds three new 1-point traits for Onis that **redistribute** your damage bonuses, allowing you to specialize in Slash or Piercing instead of Blunt, or be a generalist who is equally effective with all melee Brute weapons. The three new traits are **Swashbuckler**, **Spearmaster**, and **Weapons Generalist**. | Traits / Damage Bonus | Blunt | Slash | Piercing | |------------------------|-------|-------|----------| | Base Oni (No Traits) | 35% | 20% | 20% | | **Swashbuckler** | 20% | 35% | 20% | | **Spearmaster** | 20% | 20% | 35% | | **Weapons Generalist** | 25% | 25% | 25% | # Changelog 🆑 Skubman - add: Add three new 1-point traits for Onis that allow you to specialize in Slash or Piercing damage or be a melee weapons generalist. --------- Signed-off-by: Angelo Fallaria <ba.fallaria@gmail.com> Co-authored-by: Danger Revolution! <142105406+DangerRevolution@users.noreply.github.com>
17 lines
453 B
C#
17 lines
453 B
C#
using Content.Shared.Damage;
|
|
|
|
namespace Content.Server.Traits.Assorted;
|
|
|
|
/// <summary>
|
|
/// This is used for traits that modify Oni damage modifiers.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class OniDamageModifierComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Which damage modifiers to override.
|
|
/// </summary>
|
|
[DataField("modifiers", required: true)]
|
|
public DamageModifierSet MeleeModifierReplacers = default!;
|
|
}
|