Files
abysmal-isle/Scripts/Mobiles/Normal/CrystalWisp.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

44 lines
988 B
C#

using System;
using Server.Items;
namespace Server.Mobiles
{
public class CrystalWisp : Wisp
{
[Constructable]
public CrystalWisp()
{
this.Name = "a crystal wisp";
this.Hue = 0x482;
for (int i = 0; i < Utility.RandomMinMax(0, 1); i++)
{
this.PackItem(Loot.RandomScroll(0, Loot.ArcanistScrollTypes.Length, SpellbookType.Arcanist));
}
}
public CrystalWisp(Serial serial)
: base(serial)
{
}
public override void GenerateLoot()
{
AddLoot(LootPack.MedScrolls);
}
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();
}
}
}