Melee rebalancing (#17520)
This commit is contained in:
@@ -85,9 +85,3 @@ public record struct GetMeleeAttackRateEvent(EntityUid Weapon, float Rate, float
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct GetHeavyDamageModifierEvent(EntityUid Weapon, FixedPoint2 DamageModifier, float Multipliers, EntityUid User);
|
||||
|
||||
/// <summary>
|
||||
/// Raised on a melee weapon to calculate the heavy windup modifier.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public record struct GetHeavyWindupModifierEvent(EntityUid Weapon, float WindupModifier, float Multipliers, EntityUid User);
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Weapons.Melee.Events;
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StartHeavyAttackEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Weapon;
|
||||
|
||||
public StartHeavyAttackEvent(EntityUid weapon)
|
||||
{
|
||||
Weapon = weapon;
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Weapons.Melee.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised by the client if it pre-emptively stops a heavy attack.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StopHeavyAttackEvent : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Weapon;
|
||||
|
||||
public StopHeavyAttackEvent(EntityUid weapon)
|
||||
{
|
||||
Weapon = weapon;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user