using System; using Server; using Server.Items; namespace Server.Mobiles { public class Candyman : BaseCreature { public override bool ClickTitle{ get{ return true; } } public override bool ShowFameTitle{ get{ return false; } } [Constructable] public Candyman() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Title = "The Candyman"; Hue = 0x8596; Body = 0x190; Name = "Sweettooth"; AddItem( new candyarms() ); AddItem( new candychest() ); AddItem( new candygloves() ); AddItem( new candygorget() ); AddItem( new candysandals() ); AddItem( new candyrobe() ); AddItem( new candylegs() ); AddItem( new candymask() ); AddItem( new candystick() ); SetStr( 240, 245 ); SetDex( 175, 220 ); SetInt( 151, 160 ); SetHits( 3800, 5070 ); SetMana( 500 ); SetDamage( 39, 47 ); SetDamageType( ResistanceType.Physical, 60 ); SetDamageType( ResistanceType.Cold, 60 ); SetResistance( ResistanceType.Physical, 55, 65 ); SetResistance( ResistanceType.Fire, 25, 30 ); SetResistance( ResistanceType.Cold, 50, 60 ); SetResistance( ResistanceType.Poison, 25, 35 ); SetResistance( ResistanceType.Energy, 55, 65 ); SetSkill( SkillName.Fencing, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 80.1, 90.0 ); SetSkill( SkillName.Anatomy, 90.1, 100.0 ); Fame = 5000; Karma = -1000; PackItem( new Gold(1500,1800) ); PackItem( new soulball() ); } public override int GetIdleSound() { return 0x1CE; } public override int GetAngerSound() { return 0x263; } public override int GetDeathSound() { return 0x1D1; } public override int GetHurtSound() { return 0x25E; } public override bool AlwaysMurderer{ get{ return true; } } public Candyman( 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(); } } }