Add ConstructibleAttribute to types missing it that had it in RunUO (#94)

This commit is contained in:
Reetus 2020-02-22 12:34:40 +08:00 committed by GitHub
parent f8f372ccb9
commit 63ad4087b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 26 additions and 0 deletions

View file

@ -7,6 +7,7 @@ namespace Server.Items
{
private int m_Level;
[Constructible]
public MessageInABottle(Map map = null) : this(map, GetRandomLevel())
{
}

View file

@ -79,6 +79,7 @@ namespace Server.Items
private SlayerName m_Slayer;
private SlayerName m_Slayer2;
[Constructible]
public Spellbook(ulong content = 0, int itemID = 0xEFA) : base(itemID)
{
Attributes = new AosAttributes(this);

View file

@ -28,6 +28,7 @@ namespace Server.Items
{
}
[Constructible]
public RepairDeed(RepairSkillType skill = RepairSkillType.Smithing, double level = 100.0,
Mobile crafter = null, bool normalizeLevel = true) : base(0x14F0)
{

View file

@ -141,6 +141,11 @@ namespace Server.Items
[Flippable(0x104B, 0x104C)]
public class ClockRight : Clock
{
[Constructible]
public ClockRight() : base(0x104B)
{
}
public ClockRight(Serial serial) : base(serial)
{
}