fix: Optimizes items to use default weights. (Part 4) (#2243)

This commit is contained in:
Kamron Batman 2025-07-24 23:29:29 -07:00 • committed by GitHub
parent 40ba85d7b8
commit fa0b67ec29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
109 changed files with 250 additions and 391 deletions

View file

@ -6,12 +6,9 @@ namespace Server.Items;
public partial class Boomerang : BaseThrown
{
[Constructible]
public Boomerang() : base(0x8FF)
{
Weight = 4.0;
Layer = Layer.OneHanded;
}
public Boomerang() : base(0x8FF) => Layer = Layer.OneHanded;
public override double DefaultWeight => 4.0;
public override int MinThrowRange => 4;
public override WeaponAbility PrimaryAbility => WeaponAbility.MysticArc;

View file

@ -6,12 +6,9 @@ namespace Server.Items;
public partial class Cyclone : BaseThrown
{
[Constructible]
public Cyclone() : base(0x901)
{
Weight = 6.0;
Layer = Layer.OneHanded;
}
public Cyclone() : base(0x901) => Layer = Layer.OneHanded;
public override double DefaultWeight => 6.0;
public override int MinThrowRange => 6;
public override WeaponAbility PrimaryAbility => WeaponAbility.MovingShot;

View file

@ -6,12 +6,9 @@ namespace Server.Items;
public partial class SoulGlaive : BaseThrown
{
[Constructible]
public SoulGlaive() : base(0x090A)
{
Weight = 8.0;
Layer = Layer.OneHanded;
}
public SoulGlaive() : base(0x090A) => Layer = Layer.OneHanded;
public override double DefaultWeight => 8.0;
public override int MinThrowRange => 8;
public override WeaponAbility PrimaryAbility => WeaponAbility.ArmorIgnore;