- [X] Deletes serialization annotations - [X] Updates to ModernUO.Serialization.Annotations nuget - [X] Updates serializer to v2.0 - [X] Changes all `Serializable()` to `SerializationGenerator()` - [X] Updates to schema generator v2.0
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
public partial class BraveKnightOfTheBritannia : Katana
|
|
{
|
|
[Constructible]
|
|
public BraveKnightOfTheBritannia()
|
|
{
|
|
Hue = 0x47e;
|
|
|
|
Attributes.WeaponSpeed = 30;
|
|
Attributes.WeaponDamage = 35;
|
|
|
|
WeaponAttributes.HitLeechStam = 48;
|
|
WeaponAttributes.HitHarm = 26;
|
|
WeaponAttributes.HitLeechHits = 22;
|
|
}
|
|
|
|
public override int LabelNumber => 1094909; // Brave Knight of The Britannia [Replica]
|
|
|
|
public override int InitMinHits => 150;
|
|
public override int InitMaxHits => 150;
|
|
|
|
public override bool CanFortify => false;
|
|
|
|
public override void GetDamageTypes(
|
|
Mobile wielder, out int phys, out int fire, out int cold, out int pois,
|
|
out int nrgy, out int chaos, out int direct
|
|
)
|
|
{
|
|
phys = chaos = direct = 0;
|
|
fire = 40;
|
|
cold = 30;
|
|
pois = 10;
|
|
nrgy = 20;
|
|
}
|
|
}
|
|
}
|