servuo/Scripts/Items/Functional/CitadelAltar.cs
2020-04-16 20:37:29 -04:00

51 lines
No EOL
1.3 KiB
C#

using Server.Mobiles;
using System;
namespace Server.Items
{
public class CitadelAltar : PeerlessAltar
{
public override int KeyCount => 3;
public override MasterKey MasterKey => new CitadelKey();
public override Type[] Keys => new Type[]
{
typeof( TigerClawKey ), typeof( SerpentFangKey ), typeof( DragonFlameKey )
};
public override BasePeerless Boss => new Travesty();
[Constructable]
public CitadelAltar() : base(0x207E)
{
BossLocation = new Point3D(86, 1955, 0);
TeleportDest = new Point3D(111, 1955, 0);
ExitDest = new Point3D(1355, 779, 17);
}
public override Rectangle2D[] BossBounds => m_Bounds;
private readonly Rectangle2D[] m_Bounds = new Rectangle2D[]
{
new Rectangle2D(66, 1936, 51, 39),
};
public CitadelAltar(Serial serial) : base(serial)
{
}
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();
}
}
}