- [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
31 lines
865 B
C#
31 lines
865 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0)]
|
|
public partial class ColdForgedBlade : ElvenSpellblade
|
|
{
|
|
[Constructible]
|
|
public ColdForgedBlade()
|
|
{
|
|
WeaponAttributes.HitHarm = 40;
|
|
Attributes.SpellChanneling = 1;
|
|
Attributes.NightSight = 1;
|
|
Attributes.WeaponSpeed = 25;
|
|
Attributes.WeaponDamage = 50;
|
|
|
|
Hue = GetElementalDamageHue();
|
|
}
|
|
|
|
public override int LabelNumber => 1072916; // Cold Forged Blade
|
|
|
|
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 = fire = pois = nrgy = chaos = direct = 0;
|
|
cold = 100;
|
|
}
|
|
}
|
|
}
|