ModernUO/Projects/UOContent/Holiday Stuff/Halloween/2006/Items/TwilightLantern.cs
Kamron Batman 54d728a322
fix: Updates serialization to use v2.0 (#998)
- [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
2022-04-17 08:02:15 -07:00

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
}
}
}