From e6562fda8c5c4a090b6bc49c9de7fe2c729968fa Mon Sep 17 00:00:00 2001 From: xavier Date: Tue, 28 Jun 2011 20:27:57 +0000 Subject: [PATCH] Champion spawn replica system corrections to drop, items and hues. --- .../Decorative/DirtPatch.cs | 32 +++++++++++++++++++ .../Shared/ANecromancerShroud.cs | 2 +- .../Shared/BraveKnightOfTheBritannia.cs | 2 ++ .../Shared/CaptainJohnsHat.cs | 2 +- .../Shared/DetectiveBoots.cs | 1 + .../Shared/EmbroideredOakLeafCloak.cs | 2 +- .../Shared/GuantletsOfAnger.cs | 2 +- .../LieutenantOfTheBritannianRoyalGuard.cs | 2 +- .../Shared/SamaritanRobe.cs | 2 +- .../Shared/TheMostKnowledgePerson.cs | 2 +- .../Shared/TheRobeOfBritanniaAri.cs | 2 +- .../Unique/AcidProofRobe.cs | 8 +++-- .../Items/Champion Artifacts/Unique/Calm.cs | 2 ++ .../Champion Artifacts/Unique/FangOfRactus.cs | 2 +- .../Unique/GladiatorsCollar.cs | 2 +- .../Unique/OrcChieftainHelm.cs | 8 +++-- .../Items/Champion Artifacts/Unique/Pacify.cs | 2 ++ .../Items/Champion Artifacts/Unique/Quell.cs | 2 ++ .../Unique/ShroudOfDeceit.cs | 2 +- .../Items/Champion Artifacts/Unique/Subdue.cs | 2 ++ Scripts/Mobiles/Special/LordOaks.cs | 3 +- Scripts/Mobiles/Special/Mephitis.cs | 2 +- Scripts/Mobiles/Special/Neira.cs | 2 +- Scripts/Mobiles/Special/Semidar.cs | 2 +- 24 files changed, 71 insertions(+), 19 deletions(-) create mode 100644 Scripts/Items/Champion Artifacts/Decorative/DirtPatch.cs diff --git a/Scripts/Items/Champion Artifacts/Decorative/DirtPatch.cs b/Scripts/Items/Champion Artifacts/Decorative/DirtPatch.cs new file mode 100644 index 000000000..4197bd043 --- /dev/null +++ b/Scripts/Items/Champion Artifacts/Decorative/DirtPatch.cs @@ -0,0 +1,32 @@ +using System; +using Server.Network; +using Server.Items; + +namespace Server.Items +{ + public class DirtPatch : Item + { + [Constructable] + public DirtPatch(): base(0x0913) + { + } + + public DirtPatch(Serial serial): base(serial) + { + } + + public override void Serialize(GenericWriter writer) + { + base.Serialize(writer); + + writer.Write((int)0); // version + } + + public override void Deserialize(GenericReader reader) + { + base.Deserialize(reader); + + int version = reader.ReadInt(); + } + } +} diff --git a/Scripts/Items/Champion Artifacts/Shared/ANecromancerShroud.cs b/Scripts/Items/Champion Artifacts/Shared/ANecromancerShroud.cs index 3973058c3..cada17c04 100644 --- a/Scripts/Items/Champion Artifacts/Shared/ANecromancerShroud.cs +++ b/Scripts/Items/Champion Artifacts/Shared/ANecromancerShroud.cs @@ -17,7 +17,7 @@ namespace Server.Items [Constructable] public ANecromancerShroud() { - Hue = 0x1; + Hue = 0x455; } public ANecromancerShroud( Serial serial ) : base( serial ) diff --git a/Scripts/Items/Champion Artifacts/Shared/BraveKnightOfTheBritannia.cs b/Scripts/Items/Champion Artifacts/Shared/BraveKnightOfTheBritannia.cs index 80dbb1b1c..103d15e8b 100644 --- a/Scripts/Items/Champion Artifacts/Shared/BraveKnightOfTheBritannia.cs +++ b/Scripts/Items/Champion Artifacts/Shared/BraveKnightOfTheBritannia.cs @@ -15,6 +15,8 @@ namespace Server.Items [Constructable] public BraveKnightOfTheBritannia() { + Hue = 0x47e; + Attributes.WeaponSpeed = 30; Attributes.WeaponDamage = 35; diff --git a/Scripts/Items/Champion Artifacts/Shared/CaptainJohnsHat.cs b/Scripts/Items/Champion Artifacts/Shared/CaptainJohnsHat.cs index 9074874c3..9c4be3099 100644 --- a/Scripts/Items/Champion Artifacts/Shared/CaptainJohnsHat.cs +++ b/Scripts/Items/Champion Artifacts/Shared/CaptainJohnsHat.cs @@ -21,7 +21,7 @@ namespace Server.Items [Constructable] public CaptainJohnsHat() { - Hue = 0x1; + Hue = 0x455; Attributes.BonusDex = 8; Attributes.NightSight = 1; diff --git a/Scripts/Items/Champion Artifacts/Shared/DetectiveBoots.cs b/Scripts/Items/Champion Artifacts/Shared/DetectiveBoots.cs index 97069aba3..b9e2a683f 100644 --- a/Scripts/Items/Champion Artifacts/Shared/DetectiveBoots.cs +++ b/Scripts/Items/Champion Artifacts/Shared/DetectiveBoots.cs @@ -24,6 +24,7 @@ namespace Server.Items [Constructable] public DetectiveBoots() { + Hue = 0x455; Level = Utility.RandomMinMax( 0, 2 ); } diff --git a/Scripts/Items/Champion Artifacts/Shared/EmbroideredOakLeafCloak.cs b/Scripts/Items/Champion Artifacts/Shared/EmbroideredOakLeafCloak.cs index bb258b860..6e70217d6 100644 --- a/Scripts/Items/Champion Artifacts/Shared/EmbroideredOakLeafCloak.cs +++ b/Scripts/Items/Champion Artifacts/Shared/EmbroideredOakLeafCloak.cs @@ -15,7 +15,7 @@ namespace Server.Items [Constructable] public EmbroideredOakLeafCloak() : base( 0x2684 ) { - Hue = 0x557; + Hue = 0x483; StrRequirement = 0; SkillBonuses.Skill_1_Name = SkillName.Stealth; diff --git a/Scripts/Items/Champion Artifacts/Shared/GuantletsOfAnger.cs b/Scripts/Items/Champion Artifacts/Shared/GuantletsOfAnger.cs index cddfc958d..3fb154129 100644 --- a/Scripts/Items/Champion Artifacts/Shared/GuantletsOfAnger.cs +++ b/Scripts/Items/Champion Artifacts/Shared/GuantletsOfAnger.cs @@ -21,7 +21,7 @@ namespace Server.Items [Constructable] public GuantletsOfAnger() { - Hue = 0x557; + Hue = 0x29b; Attributes.BonusHits = 8; Attributes.RegenHits = 2; diff --git a/Scripts/Items/Champion Artifacts/Shared/LieutenantOfTheBritannianRoyalGuard.cs b/Scripts/Items/Champion Artifacts/Shared/LieutenantOfTheBritannianRoyalGuard.cs index df6b0d4c9..263877bca 100644 --- a/Scripts/Items/Champion Artifacts/Shared/LieutenantOfTheBritannianRoyalGuard.cs +++ b/Scripts/Items/Champion Artifacts/Shared/LieutenantOfTheBritannianRoyalGuard.cs @@ -15,7 +15,7 @@ namespace Server.Items [Constructable] public LieutenantOfTheBritannianRoyalGuard() { - Hue = 0x7B; + Hue = 0xe8; Attributes.BonusInt = 5; Attributes.RegenMana = 2; diff --git a/Scripts/Items/Champion Artifacts/Shared/SamaritanRobe.cs b/Scripts/Items/Champion Artifacts/Shared/SamaritanRobe.cs index 457397068..3194f2dfd 100644 --- a/Scripts/Items/Champion Artifacts/Shared/SamaritanRobe.cs +++ b/Scripts/Items/Champion Artifacts/Shared/SamaritanRobe.cs @@ -17,7 +17,7 @@ namespace Server.Items [Constructable] public SamaritanRobe() { - Hue = 0x558; + Hue = 0x2a3; } public SamaritanRobe( Serial serial ) : base( serial ) diff --git a/Scripts/Items/Champion Artifacts/Shared/TheMostKnowledgePerson.cs b/Scripts/Items/Champion Artifacts/Shared/TheMostKnowledgePerson.cs index 313121dd1..8b7e2f0de 100644 --- a/Scripts/Items/Champion Artifacts/Shared/TheMostKnowledgePerson.cs +++ b/Scripts/Items/Champion Artifacts/Shared/TheMostKnowledgePerson.cs @@ -17,7 +17,7 @@ namespace Server.Items [Constructable] public TheMostKnowledgePerson() : base( 0x2684 ) { - Hue = 0x242; + Hue = 0x117; StrRequirement = 0; Attributes.BonusHits = 3 + Utility.RandomMinMax( 0, 2 ); diff --git a/Scripts/Items/Champion Artifacts/Shared/TheRobeOfBritanniaAri.cs b/Scripts/Items/Champion Artifacts/Shared/TheRobeOfBritanniaAri.cs index 91191f67d..876267321 100644 --- a/Scripts/Items/Champion Artifacts/Shared/TheRobeOfBritanniaAri.cs +++ b/Scripts/Items/Champion Artifacts/Shared/TheRobeOfBritanniaAri.cs @@ -17,7 +17,7 @@ namespace Server.Items [Constructable] public TheRobeOfBritanniaAri() : base( 0x2684 ) { - Hue = 0x486; + Hue = 0x48b; StrRequirement = 0; } diff --git a/Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs b/Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs index f6f17521c..0dfe9de58 100644 --- a/Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs +++ b/Scripts/Items/Champion Artifacts/Unique/AcidProofRobe.cs @@ -17,7 +17,7 @@ namespace Server.Items [Constructable] public AcidProofRobe() { - Hue = 0x1; + Hue = 0x455; LootType = LootType.Blessed; } @@ -29,7 +29,7 @@ namespace Server.Items { base.Serialize( writer ); - writer.Write( (int) 0 ); + writer.Write( (int) 1 ); } public override void Deserialize(GenericReader reader) @@ -37,6 +37,10 @@ namespace Server.Items base.Deserialize( reader ); int version = reader.ReadInt(); + if (version < 1) + { + Hue = 0x455; + } } } } diff --git a/Scripts/Items/Champion Artifacts/Unique/Calm.cs b/Scripts/Items/Champion Artifacts/Unique/Calm.cs index 8b24ce5e5..20258239b 100644 --- a/Scripts/Items/Champion Artifacts/Unique/Calm.cs +++ b/Scripts/Items/Champion Artifacts/Unique/Calm.cs @@ -15,6 +15,8 @@ namespace Server.Items [Constructable] public Calm() { + Hue = 0x2cb; + Attributes.SpellChanneling = 1; Attributes.WeaponSpeed = 20; Attributes.WeaponDamage = 50; diff --git a/Scripts/Items/Champion Artifacts/Unique/FangOfRactus.cs b/Scripts/Items/Champion Artifacts/Unique/FangOfRactus.cs index ce4f5d007..0edf2a19f 100644 --- a/Scripts/Items/Champion Artifacts/Unique/FangOfRactus.cs +++ b/Scripts/Items/Champion Artifacts/Unique/FangOfRactus.cs @@ -15,7 +15,7 @@ namespace Server.Items [Constructable] public FangOfRactus() { - Hue = 0x1D9; + Hue = 0x117; Attributes.SpellChanneling = 1; Attributes.AttackChance = 5; diff --git a/Scripts/Items/Champion Artifacts/Unique/GladiatorsCollar.cs b/Scripts/Items/Champion Artifacts/Unique/GladiatorsCollar.cs index 4b8f7d6a0..39df354a0 100644 --- a/Scripts/Items/Champion Artifacts/Unique/GladiatorsCollar.cs +++ b/Scripts/Items/Champion Artifacts/Unique/GladiatorsCollar.cs @@ -21,7 +21,7 @@ namespace Server.Items [Constructable] public GladiatorsCollar() { - Hue = 0x967; + Hue = 0x26d; Attributes.BonusHits = 10; Attributes.AttackChance = 10; diff --git a/Scripts/Items/Champion Artifacts/Unique/OrcChieftainHelm.cs b/Scripts/Items/Champion Artifacts/Unique/OrcChieftainHelm.cs index 073a12ab5..7b694deac 100644 --- a/Scripts/Items/Champion Artifacts/Unique/OrcChieftainHelm.cs +++ b/Scripts/Items/Champion Artifacts/Unique/OrcChieftainHelm.cs @@ -21,7 +21,7 @@ namespace Server.Items [Constructable] public OrcChieftainHelm() { - Hue = 0x3F; + Hue = 0x2a3; Attributes.Luck = 100; Attributes.RegenHits = 3; @@ -40,7 +40,7 @@ namespace Server.Items { base.Serialize( writer ); - writer.Write( (int) 0 ); + writer.Write( (int) 1 ); } public override void Deserialize(GenericReader reader) @@ -48,6 +48,10 @@ namespace Server.Items base.Deserialize( reader ); int version = reader.ReadInt(); + if (version < 1) + { + Hue = 0x1D6; + } } } } diff --git a/Scripts/Items/Champion Artifacts/Unique/Pacify.cs b/Scripts/Items/Champion Artifacts/Unique/Pacify.cs index 1456c8574..ecc5c5aa0 100644 --- a/Scripts/Items/Champion Artifacts/Unique/Pacify.cs +++ b/Scripts/Items/Champion Artifacts/Unique/Pacify.cs @@ -15,6 +15,8 @@ namespace Server.Items [Constructable] public Pacify() { + Hue = 0x835; + Attributes.SpellChanneling = 1; Attributes.AttackChance = 10; Attributes.WeaponSpeed = 20; diff --git a/Scripts/Items/Champion Artifacts/Unique/Quell.cs b/Scripts/Items/Champion Artifacts/Unique/Quell.cs index 00c84cf9d..62c4beb38 100644 --- a/Scripts/Items/Champion Artifacts/Unique/Quell.cs +++ b/Scripts/Items/Champion Artifacts/Unique/Quell.cs @@ -15,6 +15,8 @@ namespace Server.Items [Constructable] public Quell() { + Hue = 0x225; + Attributes.SpellChanneling = 1; Attributes.WeaponSpeed = 20; Attributes.WeaponDamage = 50; diff --git a/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs b/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs index 0a453df90..469f000f2 100644 --- a/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs +++ b/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs @@ -21,7 +21,7 @@ namespace Server.Items [Constructable] public ShroudOfDeciet() { - Hue = 0x3D5; + Hue = 0x455; Attributes.RegenHits = 3; diff --git a/Scripts/Items/Champion Artifacts/Unique/Subdue.cs b/Scripts/Items/Champion Artifacts/Unique/Subdue.cs index 6f8f4eecd..a324eabb8 100644 --- a/Scripts/Items/Champion Artifacts/Unique/Subdue.cs +++ b/Scripts/Items/Champion Artifacts/Unique/Subdue.cs @@ -15,6 +15,8 @@ namespace Server.Items [Constructable] public Subdue() { + Hue = 0x2cb; + Attributes.SpellChanneling = 1; Attributes.WeaponSpeed = 20; Attributes.WeaponDamage = 50; diff --git a/Scripts/Mobiles/Special/LordOaks.cs b/Scripts/Mobiles/Special/LordOaks.cs index f083008fc..0d3279b0b 100644 --- a/Scripts/Mobiles/Special/LordOaks.cs +++ b/Scripts/Mobiles/Special/LordOaks.cs @@ -21,7 +21,8 @@ namespace Server.Mobiles typeof( TheMostKnowledgePerson ) }; } } public override Type[] DecorativeList{ get{ return new Type[] { typeof( WaterTile ), typeof( WindSpirit ), - typeof( Pier ), }; } } + typeof( Pier ), + typeof( DirtPatch )}; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } } diff --git a/Scripts/Mobiles/Special/Mephitis.cs b/Scripts/Mobiles/Special/Mephitis.cs index 2b4d542aa..a007359dd 100644 --- a/Scripts/Mobiles/Special/Mephitis.cs +++ b/Scripts/Mobiles/Special/Mephitis.cs @@ -10,7 +10,7 @@ namespace Server.Mobiles public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Venom; } } public override Type[] UniqueList{ get{ return new Type[] { typeof( Calm ) }; } } - public override Type[] SharedList{ get{ return new Type[] { typeof( OblivionsNeedle ), typeof( ANecromancerShroud ) }; } } + public override Type[] SharedList { get { return new Type[] { typeof(OblivionsNeedle), typeof(ANecromancerShroud), typeof(EmbroideredOakLeafCloak), typeof(TheMostKnowledgePerson) }; } } public override Type[] DecorativeList{ get{ return new Type[] { typeof( Web ), typeof( MonsterStatuette ) }; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.Spider }; } } diff --git a/Scripts/Mobiles/Special/Neira.cs b/Scripts/Mobiles/Special/Neira.cs index 1262d89f2..f9d77dbbc 100644 --- a/Scripts/Mobiles/Special/Neira.cs +++ b/Scripts/Mobiles/Special/Neira.cs @@ -12,7 +12,7 @@ namespace Server.Mobiles public override Type[] UniqueList{ get{ return new Type[] { typeof( ShroudOfDeciet ) }; } } public override Type[] SharedList{ get{ return new Type[] { typeof( ANecromancerShroud ), - typeof( DetectiveBoots ), + typeof( CaptainJohnsHat ) }; } } public override Type[] DecorativeList{ get{ return new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) }; } } diff --git a/Scripts/Mobiles/Special/Semidar.cs b/Scripts/Mobiles/Special/Semidar.cs index 5b40bdbc0..01d7d7a8d 100644 --- a/Scripts/Mobiles/Special/Semidar.cs +++ b/Scripts/Mobiles/Special/Semidar.cs @@ -10,7 +10,7 @@ namespace Server.Mobiles public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Pain; } } public override Type[] UniqueList{ get{ return new Type[] { typeof( GladiatorsCollar ) }; } } - public override Type[] SharedList{ get{ return new Type[] { typeof( LieutenantOfTheBritannianRoyalGuard ) }; } } + public override Type[] SharedList { get { return new Type[] { typeof(RoyalGuardSurvivalKnife), typeof(ANecromancerShroud), typeof(LieutenantOfTheBritannianRoyalGuard) }; } } public override Type[] DecorativeList{ get{ return new Type[] { typeof( LavaTile ), typeof( DemonSkull ) }; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }