- [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
19 lines
437 B
C#
19 lines
437 B
C#
using ModernUO.Serialization;
|
|
using Server.Spells.Fourth;
|
|
|
|
namespace Server.Items
|
|
{
|
|
[SerializationGenerator(0, false)]
|
|
public partial class LightningWand : BaseWand
|
|
{
|
|
[Constructible]
|
|
public LightningWand() : base(WandEffect.Lightning, 5, Core.ML ? 109 : 20)
|
|
{
|
|
}
|
|
|
|
public override void OnWandUse(Mobile from)
|
|
{
|
|
Cast(new LightningSpell(from, this));
|
|
}
|
|
}
|
|
}
|