fix(codegen): Codegens Weapons (#698)
This commit is contained in:
parent
3293ffcf06
commit
3fc2b76468
267 changed files with 873 additions and 2705 deletions
|
|
@ -2,16 +2,13 @@ using Server.Engines.ConPVP;
|
|||
|
||||
namespace Server.Items
|
||||
{
|
||||
public abstract class BaseBashing : BaseMeleeWeapon
|
||||
[Serializable(0, false)]
|
||||
public abstract partial class BaseBashing : BaseMeleeWeapon
|
||||
{
|
||||
public BaseBashing(int itemID) : base(itemID)
|
||||
{
|
||||
}
|
||||
|
||||
public BaseBashing(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int DefHitSound => 0x233;
|
||||
public override int DefMissSound => 0x239;
|
||||
|
||||
|
|
@ -19,20 +16,6 @@ namespace Server.Items
|
|||
public override WeaponType DefType => WeaponType.Bashing;
|
||||
public override WeaponAnimation DefAnimation => WeaponAnimation.Bash1H;
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
public override void OnHit(Mobile attacker, Mobile defender, double damageBonus = 1)
|
||||
{
|
||||
base.OnHit(attacker, defender, damageBonus);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue