Wieldable/two-handed weapons (#4554)
* wielding kinda works * rough out all the edges, wielding works nicely * popups + loc * increase damage & extra damage against whitelist * small fixes * forgot to actually do that * reviews * reviews + thing * use resistances and not extradamageagainstwhitelist * slashy * make increasedamageonwield and melee hit events work with modifiersets * Silly individual
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Content.Shared.Damage;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using Robust.Shared.Analyzers;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Server.Wieldable.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(WieldableSystem))]
|
||||
public class IncreaseDamageOnWieldComponent : Component
|
||||
{
|
||||
public override string Name { get; } = "IncreaseDamageOnWield";
|
||||
|
||||
[DataField("modifiers", required: true)]
|
||||
public DamageModifierSet Modifiers = default!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user