From c57b83289e816c20ee09a5ea1cd81d7252610334 Mon Sep 17 00:00:00 2001 From: xavier Date: Sat, 9 Jul 2011 01:24:09 +0000 Subject: [PATCH] added replica types to pigments. simply added a type array for the pigment code to check. This will be better dealt with when the dye tubs overhaul goes in. Correction to shroud of deceit hue. --- .../BasePigmentsOfTokuno.cs | 28 +++++++++++++++++++ .../Unique/ShroudOfDeceit.cs | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs b/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs index c7bee8a6a..4d3372643 100644 --- a/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs +++ b/Scripts/Engines/Treasures of Tokuno/BasePigmentsOfTokuno.cs @@ -7,6 +7,33 @@ namespace Server.Items { public abstract class BasePigmentsOfTokuno : Item, IUsesRemaining { + private static Type[] m_Replicas = new Type[] + { + typeof( ANecromancerShroud ), + typeof( BraveKnightOfTheBritannia ), + typeof( CaptainJohnsHat ), + typeof( DetectiveBoots ), + typeof( DjinnisRing ), + typeof( EmbroideredOakLeafCloak ), + typeof( GuantletsOfAnger ), + typeof( LieutenantOfTheBritannianRoyalGuard ), + typeof( OblivionsNeedle ), + typeof( RoyalGuardSurvivalKnife ), + typeof( SamaritanRobe ), + typeof( TheMostKnowledgePerson ), + typeof( TheRobeOfBritanniaAri ), + typeof( AcidProofRobe ), + typeof( Calm ), + typeof( CrownOfTalKeesh ), + typeof( FangOfRactus ), + typeof( GladiatorsCollar ), + typeof( OrcChieftainHelm ), + typeof( Pacify ), + typeof( Quell ), + typeof( ShroudOfDeciet ), + typeof( Subdue ) + }; + public override int LabelNumber { get { return 1070933; } } // Pigments of Tokuno private int m_UsesRemaining; @@ -129,6 +156,7 @@ namespace Server.Items || IsInTypeList( t, Paragon.Artifacts ) || IsInTypeList( t, Leviathan.Artifacts ) || IsInTypeList( t, TreasureMapChest.Artifacts ) + || IsInTypeList( t, m_Replicas ) ); } diff --git a/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs b/Scripts/Items/Champion Artifacts/Unique/ShroudOfDeceit.cs index 469f000f2..d128a438f 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 = 0x455; + Hue = 0x38F; Attributes.RegenHits = 3;