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

@ -4,6 +4,7 @@ namespace Server.Factions
{
public class FactionExplosionTrap : BaseFactionTrap
{
[Constructible]
public FactionExplosionTrap(Faction f = null, Mobile m = null) : base(f, m, 0x11C1)
{
}

View file

@ -4,6 +4,7 @@ namespace Server.Factions
{
public class FactionGasTrap : BaseFactionTrap
{
[Constructible]
public FactionGasTrap(Faction f = null, Mobile m = null) : base(f, m, 0x113C)
{
}

View file

@ -4,6 +4,7 @@ namespace Server.Factions
{
public class FactionSawTrap : BaseFactionTrap
{
[Constructible]
public FactionSawTrap(Faction f = null, Mobile m = null) : base(f, m, 0x11AC)
{
}

View file

@ -4,6 +4,7 @@ namespace Server.Factions
{
public class FactionSpikeTrap : BaseFactionTrap
{
[Constructible]
public FactionSpikeTrap(Faction f = null, Mobile m = null) : base(f, m, 0x11A0)
{
}

View file

@ -8,6 +8,7 @@ namespace Server.Factions
public const int GoldPrice = 3000;
private Faction m_Faction;
[Constructible]
public FactionWarHorse(Faction faction = null)
: base("a war horse", 0xE2, 0x3EA0, AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
{

View file

@ -8,6 +8,7 @@ namespace Server.Items
{
private ResetTimer m_ResetTimer;
[Constructible]
public RaiseSwitch(int itemID = 0x1093) : base(itemID) => Movable = false;
public RaiseSwitch(Serial serial) : base(serial)