Assign a default value to ClickDamageModifier (#19871)
This commit is contained in:
@@ -75,7 +75,7 @@ public sealed partial class MeleeWeaponComponent : Component
|
|||||||
/// Multiplies damage by this amount for single-target attacks.
|
/// Multiplies damage by this amount for single-target attacks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ViewVariables(VVAccess.ReadWrite), DataField("clickDamageModifier")]
|
[ViewVariables(VVAccess.ReadWrite), DataField("clickDamageModifier")]
|
||||||
public FixedPoint2 ClickDamageModifier;
|
public FixedPoint2 ClickDamageModifier = FixedPoint2.New(1);
|
||||||
|
|
||||||
// TODO: Temporarily 1.5 until interactionoutline is adjusted to use melee, then probably drop to 1.2
|
// TODO: Temporarily 1.5 until interactionoutline is adjusted to use melee, then probably drop to 1.2
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user