#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.
This commit is contained in:
parent
b51c58f514
commit
3045c83799
3512 changed files with 627673 additions and 0 deletions
42
Scripts/Items/Armor/Artifacts/ArmorOfFortune.cs
Normal file
42
Scripts/Items/Armor/Artifacts/ArmorOfFortune.cs
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ArmorOfFortune : StuddedChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061098; } } // Armor of Fortune
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ArmorOfFortune()
|
||||
{
|
||||
Hue = 0x501;
|
||||
Attributes.Luck = 200;
|
||||
Attributes.DefendChance = 15;
|
||||
Attributes.LowerRegCost = 40;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public ArmorOfFortune( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Armor/Artifacts/Craftable/BrambleCoat.cs
Normal file
46
Scripts/Items/Armor/Artifacts/Craftable/BrambleCoat.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BrambleCoat : WoodlandChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072925; } } // Bramble Coat
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 10; } }
|
||||
public override int BaseFireResistance{ get{ return 8; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 8; } }
|
||||
public override int BaseEnergyResistance{ get{ return 7; } }
|
||||
|
||||
[Constructable]
|
||||
public BrambleCoat()
|
||||
{
|
||||
Hue = 0x1;
|
||||
|
||||
ArmorAttributes.SelfRepair = 3;
|
||||
Attributes.BonusHits = 4;
|
||||
Attributes.Luck = 150;
|
||||
Attributes.ReflectPhysical = 25;
|
||||
Attributes.DefendChance = 15;
|
||||
}
|
||||
|
||||
public BrambleCoat( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Armor/Artifacts/Craftable/IronwoodCrown.cs
Normal file
46
Scripts/Items/Armor/Artifacts/Craftable/IronwoodCrown.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class IronwoodCrown : RavenHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072924; } } // Ironwood Crown
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 10; } }
|
||||
public override int BaseFireResistance{ get{ return 6; } }
|
||||
public override int BaseColdResistance{ get{ return 7; } }
|
||||
public override int BasePoisonResistance{ get{ return 7; } }
|
||||
public override int BaseEnergyResistance{ get{ return 10; } }
|
||||
|
||||
[Constructable]
|
||||
public IronwoodCrown()
|
||||
{
|
||||
Hue = 0x1;
|
||||
|
||||
ArmorAttributes.SelfRepair = 3;
|
||||
|
||||
Attributes.BonusStr = 5;
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.BonusInt = 5;
|
||||
}
|
||||
|
||||
public IronwoodCrown( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Items/Armor/Artifacts/Craftable/SongWovenMantle.cs
Normal file
43
Scripts/Items/Armor/Artifacts/Craftable/SongWovenMantle.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SongWovenMantle : LeafArms
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072931; } } // Song Woven Mantle
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 14; } }
|
||||
public override int BaseColdResistance{ get{ return 14; } }
|
||||
public override int BaseEnergyResistance{ get{ return 16; } }
|
||||
|
||||
[Constructable]
|
||||
public SongWovenMantle()
|
||||
{
|
||||
Hue = 0x493;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Musicianship, 10.0 );
|
||||
|
||||
Attributes.Luck = 100;
|
||||
Attributes.DefendChance = 5;
|
||||
}
|
||||
|
||||
public SongWovenMantle( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class SpellWovenBritches : LeafLegs
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072929; } } // Spell Woven Britches
|
||||
|
||||
public override int BaseFireResistance{ get{ return 15; } }
|
||||
public override int BasePoisonResistance{ get{ return 16; } }
|
||||
|
||||
[Constructable]
|
||||
public SpellWovenBritches()
|
||||
{
|
||||
Hue = 0x487;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Meditation, 10.0 );
|
||||
|
||||
Attributes.BonusInt = 8;
|
||||
Attributes.SpellDamage = 10;
|
||||
Attributes.LowerManaCost = 10;
|
||||
}
|
||||
|
||||
public SpellWovenBritches( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
43
Scripts/Items/Armor/Artifacts/Craftable/StitchersMittens.cs
Normal file
43
Scripts/Items/Armor/Artifacts/Craftable/StitchersMittens.cs
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StitchersMittens : LeafGloves
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1072932; } } // Stitcher's Mittens
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 20; } }
|
||||
public override int BaseColdResistance{ get{ return 20; } }
|
||||
|
||||
[Constructable]
|
||||
public StitchersMittens()
|
||||
{
|
||||
Hue = 0x481;
|
||||
|
||||
SkillBonuses.SetValues( 0, SkillName.Healing, 10.0 );
|
||||
|
||||
Attributes.BonusDex = 5;
|
||||
Attributes.LowerRegCost = 30;
|
||||
}
|
||||
|
||||
public StitchersMittens( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.WriteEncodedInt( 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadEncodedInt();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/Items/Armor/Artifacts/GauntletsOfNobility.cs
Normal file
53
Scripts/Items/Armor/Artifacts/GauntletsOfNobility.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class GauntletsOfNobility : RingmailGloves
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061092; } } // Gauntlets of Nobility
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 18; } }
|
||||
public override int BasePoisonResistance{ get{ return 20; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public GauntletsOfNobility()
|
||||
{
|
||||
Hue = 0x4FE;
|
||||
Attributes.BonusStr = 8;
|
||||
Attributes.Luck = 100;
|
||||
Attributes.WeaponDamage = 20;
|
||||
}
|
||||
|
||||
public GauntletsOfNobility( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x562 )
|
||||
Hue = 0x4FE;
|
||||
|
||||
PhysicalBonus = 0;
|
||||
PoisonBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
47
Scripts/Items/Armor/Artifacts/HelmOfInsight.cs
Normal file
47
Scripts/Items/Armor/Artifacts/HelmOfInsight.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HelmOfInsight : PlateHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061096; } } // Helm of Insight
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BaseEnergyResistance{ get{ return 17; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HelmOfInsight()
|
||||
{
|
||||
Hue = 0x554;
|
||||
Attributes.BonusInt = 8;
|
||||
Attributes.BonusMana = 15;
|
||||
Attributes.RegenMana = 2;
|
||||
Attributes.LowerManaCost = 8;
|
||||
}
|
||||
|
||||
public HelmOfInsight( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
EnergyBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Scripts/Items/Armor/Artifacts/HolyKnightsBreastplate.cs
Normal file
45
Scripts/Items/Armor/Artifacts/HolyKnightsBreastplate.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class HolyKnightsBreastplate : PlateChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061097; } } // Holy Knight's Breastplate
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 35; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public HolyKnightsBreastplate()
|
||||
{
|
||||
Hue = 0x47E;
|
||||
Attributes.BonusHits = 10;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
}
|
||||
|
||||
public HolyKnightsBreastplate( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
PhysicalBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
50
Scripts/Items/Armor/Artifacts/InquisitorsResolution.cs
Normal file
50
Scripts/Items/Armor/Artifacts/InquisitorsResolution.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class InquisitorsResolution : PlateGloves
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1060206; } } // The Inquisitor's Resolution
|
||||
public override int ArtifactRarity{ get{ return 10; } }
|
||||
|
||||
public override int BaseColdResistance{ get{ return 22; } }
|
||||
public override int BaseEnergyResistance{ get{ return 17; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public InquisitorsResolution()
|
||||
{
|
||||
Hue = 0x4F2;
|
||||
Attributes.CastRecovery = 3;
|
||||
Attributes.LowerManaCost = 8;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public InquisitorsResolution( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
ColdBonus = 0;
|
||||
EnergyBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
52
Scripts/Items/Armor/Artifacts/JackalsCollar.cs
Normal file
52
Scripts/Items/Armor/Artifacts/JackalsCollar.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class JackalsCollar : PlateGorget
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061594; } } // Jackal's Collar
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BaseFireResistance{ get{ return 23; } }
|
||||
public override int BaseColdResistance{ get{ return 17; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public JackalsCollar()
|
||||
{
|
||||
Hue = 0x6D1;
|
||||
Attributes.BonusDex = 15;
|
||||
Attributes.RegenHits = 2;
|
||||
}
|
||||
|
||||
public JackalsCollar( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x54B )
|
||||
Hue = 0x6D1;
|
||||
|
||||
FireBonus = 0;
|
||||
ColdBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
61
Scripts/Items/Armor/Artifacts/LeggingsOfBane.cs
Normal file
61
Scripts/Items/Armor/Artifacts/LeggingsOfBane.cs
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class LeggingsOfBane : ChainLegs
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061100; } } // Leggings of Bane
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePoisonResistance{ get{ return 36; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public LeggingsOfBane()
|
||||
{
|
||||
Hue = 0x4F5;
|
||||
ArmorAttributes.DurabilityBonus = 100;
|
||||
this.HitPoints = this.MaxHitPoints = 255; //Cause the Durability bonus and such and the min/max hits as well as all other hits being whole #'s...
|
||||
Attributes.BonusStam = 8;
|
||||
Attributes.AttackChance = 20;
|
||||
}
|
||||
|
||||
public LeggingsOfBane( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 2 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if( version <= 1 )
|
||||
{
|
||||
if( this.HitPoints > 255 || this.MaxHitPoints > 255 )
|
||||
this.HitPoints = this.MaxHitPoints = 255;
|
||||
}
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x559 )
|
||||
Hue = 0x4F5;
|
||||
|
||||
if ( ArmorAttributes.DurabilityBonus == 0 )
|
||||
ArmorAttributes.DurabilityBonus = 100;
|
||||
|
||||
PoisonBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
46
Scripts/Items/Armor/Artifacts/MidnightBracers.cs
Normal file
46
Scripts/Items/Armor/Artifacts/MidnightBracers.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class MidnightBracers : BoneArms
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061093; } } // Midnight Bracers
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 23; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public MidnightBracers()
|
||||
{
|
||||
Hue = 0x455;
|
||||
SkillBonuses.SetValues( 0, SkillName.Necromancy, 20.0 );
|
||||
Attributes.SpellDamage = 10;
|
||||
ArmorAttributes.MageArmor = 1;
|
||||
}
|
||||
|
||||
public MidnightBracers( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
PhysicalBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
51
Scripts/Items/Armor/Artifacts/OrnateCrownOfTheHarrower.cs
Normal file
51
Scripts/Items/Armor/Artifacts/OrnateCrownOfTheHarrower.cs
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class OrnateCrownOfTheHarrower : BoneHelm
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061095; } } // Ornate Crown of the Harrower
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePoisonResistance{ get{ return 17; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public OrnateCrownOfTheHarrower()
|
||||
{
|
||||
Hue = 0x4F6;
|
||||
Attributes.RegenHits = 2;
|
||||
Attributes.RegenStam = 3;
|
||||
Attributes.WeaponDamage = 25;
|
||||
}
|
||||
|
||||
public OrnateCrownOfTheHarrower( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x55A )
|
||||
Hue = 0x4F6;
|
||||
|
||||
PoisonBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
55
Scripts/Items/Armor/Artifacts/ShadowDancerLeggings.cs
Normal file
55
Scripts/Items/Armor/Artifacts/ShadowDancerLeggings.cs
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class ShadowDancerLeggings : LeatherLegs
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061598; } } // Shadow Dancer Leggings
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 17; } }
|
||||
public override int BasePoisonResistance{ get{ return 18; } }
|
||||
public override int BaseEnergyResistance{ get{ return 18; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public ShadowDancerLeggings()
|
||||
{
|
||||
ItemID = 0x13D2;
|
||||
Hue = 0x455;
|
||||
SkillBonuses.SetValues( 0, SkillName.Stealth, 20.0 );
|
||||
SkillBonuses.SetValues( 1, SkillName.Stealing, 20.0 );
|
||||
}
|
||||
|
||||
public ShadowDancerLeggings( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( ItemID == 0x13CB )
|
||||
ItemID = 0x13D2;
|
||||
|
||||
PhysicalBonus = 0;
|
||||
PoisonBonus = 0;
|
||||
EnergyBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
Scripts/Items/Armor/Artifacts/TunicOfFire.cs
Normal file
56
Scripts/Items/Armor/Artifacts/TunicOfFire.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TunicOfFire : ChainChest
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061099; } } // Tunic of Fire
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BasePhysicalResistance{ get{ return 24; } }
|
||||
public override int BaseFireResistance{ get{ return 34; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public TunicOfFire()
|
||||
{
|
||||
Hue = 0x54F;
|
||||
ArmorAttributes.SelfRepair = 5;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
}
|
||||
|
||||
public TunicOfFire( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x54E )
|
||||
Hue = 0x54F;
|
||||
|
||||
if ( Attributes.NightSight == 0 )
|
||||
Attributes.NightSight = 1;
|
||||
|
||||
PhysicalBonus = 0;
|
||||
FireBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
Scripts/Items/Armor/Artifacts/VoiceOfTheFallenKing.cs
Normal file
53
Scripts/Items/Armor/Artifacts/VoiceOfTheFallenKing.cs
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
using System;
|
||||
using Server;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class VoiceOfTheFallenKing : LeatherGorget
|
||||
{
|
||||
public override int LabelNumber{ get{ return 1061094; } } // Voice of the Fallen King
|
||||
public override int ArtifactRarity{ get{ return 11; } }
|
||||
|
||||
public override int BaseColdResistance{ get{ return 18; } }
|
||||
public override int BaseEnergyResistance{ get{ return 18; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 255; } }
|
||||
public override int InitMaxHits{ get{ return 255; } }
|
||||
|
||||
[Constructable]
|
||||
public VoiceOfTheFallenKing()
|
||||
{
|
||||
Hue = 0x76D;
|
||||
Attributes.BonusStr = 8;
|
||||
Attributes.RegenHits = 5;
|
||||
Attributes.RegenStam = 3;
|
||||
}
|
||||
|
||||
public VoiceOfTheFallenKing( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 1 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( version < 1 )
|
||||
{
|
||||
if ( Hue == 0x551 )
|
||||
Hue = 0x76D;
|
||||
|
||||
ColdBonus = 0;
|
||||
EnergyBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue