mirror of
https://github.com/ServUO/ServUO
synced 2026-08-11 20:23:04 -04:00
All loot pack items are now generated when the mobile is killed. Reworked monster stealing and begging. Various re-structuring and bug fixes. Co-authored-by: TrueUO <knight.daniel.r@gmail.com>
35 lines
786 B
C#
35 lines
786 B
C#
namespace Server.Mobiles
|
|
{
|
|
public class CrystalWisp : Wisp
|
|
{
|
|
[Constructable]
|
|
public CrystalWisp()
|
|
{
|
|
Name = "a crystal wisp";
|
|
Hue = 0x482;
|
|
}
|
|
|
|
public CrystalWisp(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void GenerateLoot()
|
|
{
|
|
AddLoot(LootPack.MedScrolls);
|
|
AddLoot(LootPack.ArcanistScrolls, 0, 1);
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(0); // version
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
}
|