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.
This commit is contained in:
xavier 2011-07-09 01:24:09 +00:00
parent 2d7747154c
commit c57b83289e
2 changed files with 29 additions and 1 deletions

View file

@ -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 )
);
}

View file

@ -21,7 +21,7 @@ namespace Server.Items
[Constructable]
public ShroudOfDeciet()
{
Hue = 0x455;
Hue = 0x38F;
Attributes.RegenHits = 3;