fix(codegen): Code gens axes (#690)

This commit is contained in:
Michael Dijkstra 2021-08-18 13:37:53 +10:00 • committed by GitHub
parent c8a2605c0d
commit 488f1044fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 119 additions and 318 deletions

View file

@ -1,15 +1,12 @@
namespace Server.Items
{
[Serializable(0, false)]
[Flippable(0x1443, 0x1442)]
public class TwoHandedAxe : BaseAxe
public partial class TwoHandedAxe : BaseAxe
{
[Constructible]
public TwoHandedAxe() : base(0x1443) => Weight = 8.0;
public TwoHandedAxe(Serial serial) : base(serial)
{
}
public override WeaponAbility PrimaryAbility => WeaponAbility.DoubleStrike;
public override WeaponAbility SecondaryAbility => WeaponAbility.ShadowStrike;
@ -26,19 +23,5 @@ namespace Server.Items
public override int InitMinHits => 31;
public override int InitMaxHits => 90;
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadInt();
}
}
}