Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
62
Scripts/Mobiles/NPCs/Jaacar.cs
Normal file
62
Scripts/Mobiles/NPCs/Jaacar.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class Jaacar : MondainQuester
|
||||
{
|
||||
[Constructable]
|
||||
public Jaacar()
|
||||
: base("Jaacar")
|
||||
{
|
||||
}
|
||||
|
||||
public Jaacar(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Type[]
|
||||
{
|
||||
typeof(BadCompany)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
InitStats(100, 100, 25);
|
||||
Body = 723;
|
||||
Female = false;
|
||||
|
||||
Frozen = true;
|
||||
Direction = Direction.Down;
|
||||
}
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write((int)1); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version == 0)
|
||||
{
|
||||
Body = 723;
|
||||
}
|
||||
|
||||
Frozen = true;
|
||||
Direction = Direction.Down;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user