ModernUO/Projects/UOContent/Items/Wands/LightningWand.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

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