ModernUO/Scripts/Items/Wands/HarmWand.cs
2018-09-14 08:41:38 -07:00

35 lines
No EOL
655 B
C#

using Server.Spells.Second;
namespace Server.Items
{
public class HarmWand : BaseWand
{
[Constructible]
public HarmWand() : base( WandEffect.Harming, 5, Core.ML ? 109 : 30 )
{
}
public HarmWand( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
public override void OnWandUse( Mobile from )
{
Cast( new HarmSpell( from, this ) );
}
}
}