Champion spawn replica system corrections to drop, items and hues.

This commit is contained in:
xavier 2011-06-28 20:27:57 +00:00
parent 695e30e63e
commit e6562fda8c
24 changed files with 71 additions and 19 deletions

View file

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

View file

@ -17,7 +17,7 @@ namespace Server.Items
[Constructable] [Constructable]
public ANecromancerShroud() public ANecromancerShroud()
{ {
Hue = 0x1; Hue = 0x455;
} }
public ANecromancerShroud( Serial serial ) : base( serial ) public ANecromancerShroud( Serial serial ) : base( serial )

View file

@ -15,6 +15,8 @@ namespace Server.Items
[Constructable] [Constructable]
public BraveKnightOfTheBritannia() public BraveKnightOfTheBritannia()
{ {
Hue = 0x47e;
Attributes.WeaponSpeed = 30; Attributes.WeaponSpeed = 30;
Attributes.WeaponDamage = 35; Attributes.WeaponDamage = 35;

View file

@ -21,7 +21,7 @@ namespace Server.Items
[Constructable] [Constructable]
public CaptainJohnsHat() public CaptainJohnsHat()
{ {
Hue = 0x1; Hue = 0x455;
Attributes.BonusDex = 8; Attributes.BonusDex = 8;
Attributes.NightSight = 1; Attributes.NightSight = 1;

View file

@ -24,6 +24,7 @@ namespace Server.Items
[Constructable] [Constructable]
public DetectiveBoots() public DetectiveBoots()
{ {
Hue = 0x455;
Level = Utility.RandomMinMax( 0, 2 ); Level = Utility.RandomMinMax( 0, 2 );
} }

View file

@ -15,7 +15,7 @@ namespace Server.Items
[Constructable] [Constructable]
public EmbroideredOakLeafCloak() : base( 0x2684 ) public EmbroideredOakLeafCloak() : base( 0x2684 )
{ {
Hue = 0x557; Hue = 0x483;
StrRequirement = 0; StrRequirement = 0;
SkillBonuses.Skill_1_Name = SkillName.Stealth; SkillBonuses.Skill_1_Name = SkillName.Stealth;

View file

@ -21,7 +21,7 @@ namespace Server.Items
[Constructable] [Constructable]
public GuantletsOfAnger() public GuantletsOfAnger()
{ {
Hue = 0x557; Hue = 0x29b;
Attributes.BonusHits = 8; Attributes.BonusHits = 8;
Attributes.RegenHits = 2; Attributes.RegenHits = 2;

View file

@ -15,7 +15,7 @@ namespace Server.Items
[Constructable] [Constructable]
public LieutenantOfTheBritannianRoyalGuard() public LieutenantOfTheBritannianRoyalGuard()
{ {
Hue = 0x7B; Hue = 0xe8;
Attributes.BonusInt = 5; Attributes.BonusInt = 5;
Attributes.RegenMana = 2; Attributes.RegenMana = 2;

View file

@ -17,7 +17,7 @@ namespace Server.Items
[Constructable] [Constructable]
public SamaritanRobe() public SamaritanRobe()
{ {
Hue = 0x558; Hue = 0x2a3;
} }
public SamaritanRobe( Serial serial ) : base( serial ) public SamaritanRobe( Serial serial ) : base( serial )

View file

@ -17,7 +17,7 @@ namespace Server.Items
[Constructable] [Constructable]
public TheMostKnowledgePerson() : base( 0x2684 ) public TheMostKnowledgePerson() : base( 0x2684 )
{ {
Hue = 0x242; Hue = 0x117;
StrRequirement = 0; StrRequirement = 0;
Attributes.BonusHits = 3 + Utility.RandomMinMax( 0, 2 ); Attributes.BonusHits = 3 + Utility.RandomMinMax( 0, 2 );

View file

@ -17,7 +17,7 @@ namespace Server.Items
[Constructable] [Constructable]
public TheRobeOfBritanniaAri() : base( 0x2684 ) public TheRobeOfBritanniaAri() : base( 0x2684 )
{ {
Hue = 0x486; Hue = 0x48b;
StrRequirement = 0; StrRequirement = 0;
} }

View file

@ -17,7 +17,7 @@ namespace Server.Items
[Constructable] [Constructable]
public AcidProofRobe() public AcidProofRobe()
{ {
Hue = 0x1; Hue = 0x455;
LootType = LootType.Blessed; LootType = LootType.Blessed;
} }
@ -29,7 +29,7 @@ namespace Server.Items
{ {
base.Serialize( writer ); base.Serialize( writer );
writer.Write( (int) 0 ); writer.Write( (int) 1 );
} }
public override void Deserialize(GenericReader reader) public override void Deserialize(GenericReader reader)
@ -37,6 +37,10 @@ namespace Server.Items
base.Deserialize( reader ); base.Deserialize( reader );
int version = reader.ReadInt(); int version = reader.ReadInt();
if (version < 1)
{
Hue = 0x455;
}
} }
} }
} }

View file

@ -15,6 +15,8 @@ namespace Server.Items
[Constructable] [Constructable]
public Calm() public Calm()
{ {
Hue = 0x2cb;
Attributes.SpellChanneling = 1; Attributes.SpellChanneling = 1;
Attributes.WeaponSpeed = 20; Attributes.WeaponSpeed = 20;
Attributes.WeaponDamage = 50; Attributes.WeaponDamage = 50;

View file

@ -15,7 +15,7 @@ namespace Server.Items
[Constructable] [Constructable]
public FangOfRactus() public FangOfRactus()
{ {
Hue = 0x1D9; Hue = 0x117;
Attributes.SpellChanneling = 1; Attributes.SpellChanneling = 1;
Attributes.AttackChance = 5; Attributes.AttackChance = 5;

View file

@ -21,7 +21,7 @@ namespace Server.Items
[Constructable] [Constructable]
public GladiatorsCollar() public GladiatorsCollar()
{ {
Hue = 0x967; Hue = 0x26d;
Attributes.BonusHits = 10; Attributes.BonusHits = 10;
Attributes.AttackChance = 10; Attributes.AttackChance = 10;

View file

@ -21,7 +21,7 @@ namespace Server.Items
[Constructable] [Constructable]
public OrcChieftainHelm() public OrcChieftainHelm()
{ {
Hue = 0x3F; Hue = 0x2a3;
Attributes.Luck = 100; Attributes.Luck = 100;
Attributes.RegenHits = 3; Attributes.RegenHits = 3;
@ -40,7 +40,7 @@ namespace Server.Items
{ {
base.Serialize( writer ); base.Serialize( writer );
writer.Write( (int) 0 ); writer.Write( (int) 1 );
} }
public override void Deserialize(GenericReader reader) public override void Deserialize(GenericReader reader)
@ -48,6 +48,10 @@ namespace Server.Items
base.Deserialize( reader ); base.Deserialize( reader );
int version = reader.ReadInt(); int version = reader.ReadInt();
if (version < 1)
{
Hue = 0x1D6;
}
} }
} }
} }

View file

@ -15,6 +15,8 @@ namespace Server.Items
[Constructable] [Constructable]
public Pacify() public Pacify()
{ {
Hue = 0x835;
Attributes.SpellChanneling = 1; Attributes.SpellChanneling = 1;
Attributes.AttackChance = 10; Attributes.AttackChance = 10;
Attributes.WeaponSpeed = 20; Attributes.WeaponSpeed = 20;

View file

@ -15,6 +15,8 @@ namespace Server.Items
[Constructable] [Constructable]
public Quell() public Quell()
{ {
Hue = 0x225;
Attributes.SpellChanneling = 1; Attributes.SpellChanneling = 1;
Attributes.WeaponSpeed = 20; Attributes.WeaponSpeed = 20;
Attributes.WeaponDamage = 50; Attributes.WeaponDamage = 50;

View file

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

View file

@ -15,6 +15,8 @@ namespace Server.Items
[Constructable] [Constructable]
public Subdue() public Subdue()
{ {
Hue = 0x2cb;
Attributes.SpellChanneling = 1; Attributes.SpellChanneling = 1;
Attributes.WeaponSpeed = 20; Attributes.WeaponSpeed = 20;
Attributes.WeaponDamage = 50; Attributes.WeaponDamage = 50;

View file

@ -21,7 +21,8 @@ namespace Server.Mobiles
typeof( TheMostKnowledgePerson ) }; } } typeof( TheMostKnowledgePerson ) }; } }
public override Type[] DecorativeList{ get{ return new Type[] { typeof( WaterTile ), public override Type[] DecorativeList{ get{ return new Type[] { typeof( WaterTile ),
typeof( WindSpirit ), typeof( WindSpirit ),
typeof( Pier ), }; } } typeof( Pier ),
typeof( DirtPatch )}; } }
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Venom; } } public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Venom; } }
public override Type[] UniqueList{ get{ return new Type[] { typeof( Calm ) }; } } 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 Type[] DecorativeList{ get{ return new Type[] { typeof( Web ), typeof( MonsterStatuette ) }; } }
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.Spider }; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { MonsterStatuetteType.Spider }; } }

View file

@ -12,7 +12,7 @@ namespace Server.Mobiles
public override Type[] UniqueList{ get{ return new Type[] { typeof( ShroudOfDeciet ) }; } } public override Type[] UniqueList{ get{ return new Type[] { typeof( ShroudOfDeciet ) }; } }
public override Type[] SharedList{ get{ return new Type[] { typeof( ANecromancerShroud ), public override Type[] SharedList{ get{ return new Type[] { typeof( ANecromancerShroud ),
typeof( DetectiveBoots ),
typeof( CaptainJohnsHat ) }; } } typeof( CaptainJohnsHat ) }; } }
public override Type[] DecorativeList{ get{ return new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) }; } } public override Type[] DecorativeList{ get{ return new Type[] { typeof( WallBlood ), typeof( TatteredAncientMummyWrapping ) }; } }

View file

@ -10,7 +10,7 @@ namespace Server.Mobiles
public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Pain; } } public override ChampionSkullType SkullType{ get{ return ChampionSkullType.Pain; } }
public override Type[] UniqueList{ get{ return new Type[] { typeof( GladiatorsCollar ) }; } } 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 Type[] DecorativeList{ get{ return new Type[] { typeof( LavaTile ), typeof( DemonSkull ) }; } }
public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } } public override MonsterStatuetteType[] StatueTypes{ get{ return new MonsterStatuetteType[] { }; } }