- [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
22 lines
579 B
C#
22 lines
579 B
C#
using ModernUO.Serialization;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
public partial class TwilightLantern : Lantern
|
|
{
|
|
[Constructible]
|
|
public TwilightLantern() => Hue = Utility.RandomBool() ? 244 : 997;
|
|
|
|
public override string DefaultName => "Twilight Lantern";
|
|
|
|
public override bool AllowEquippedCast(Mobile from) => true;
|
|
|
|
public override void GetProperties(ObjectPropertyList list)
|
|
{
|
|
base.GetProperties(list);
|
|
|
|
list.Add(1060482); // Spell Channeling
|
|
}
|
|
}
|
|
}
|