using System; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "jubba the hutt corpse" )] public class JubbaTheHutt : BaseCreature { [Constructable] public JubbaTheHutt() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Jubba The Hutt"; Body = 256; Hue = 33770; BaseSoundID = 268; SetStr( 1250 ); SetDex( 900, 999 ); SetInt( 200, 400 ); SetHits( 150000); SetDamage( 54, 76 ); SetDamageType( ResistanceType.Physical, 50 ); SetDamageType( ResistanceType.Fire, 50 ); SetDamageType( ResistanceType.Cold, 50 ); SetDamageType( ResistanceType.Poison, 50 ); SetDamageType( ResistanceType.Energy, 50 ); SetResistance( ResistanceType.Physical, 70 ); SetResistance( ResistanceType.Fire, 45 ); SetResistance( ResistanceType.Cold, 45 ); SetResistance( ResistanceType.Poison, 45 ); SetResistance( ResistanceType.Energy, 45 ); SetSkill( SkillName.EvalInt, 120.0 ); SetSkill( SkillName.Magery, 120.0 ); SetSkill( SkillName.Meditation, 170.0 ); SetSkill( SkillName.MagicResist, 120.0 ); SetSkill( SkillName.Tactics, 170.0 ); SetSkill( SkillName.Anatomy, 170.0 ); SetSkill( SkillName.Wrestling, 170.0 ); Fame = 0; Karma = -20000; VirtualArmor = 64; PackGold( 47000, 60000 ); switch ( Utility.Random( 20 ) ) { case 0: PackItem( new HatOfTheMagi( 1 ) ); break; case 1: PackItem( new BladeOfInsanity( 1 ) ); break; case 2: PackItem( new ShadowDancerLeggings( 1 ) ); break; case 3: PackItem( new Tokens( 1000 ) ); break; case 4: PackItem( new FireBallScroll( 10 ) ); break; } switch ( Utility.Random( 30 ) ) { case 0: PackItem( new LegacyOfTheDreadLord( 1000 ) ); break; } } public override bool HasBreath{ get{ return true; } } // fire breath enabled public override bool AutoDispel{ get{ return true; } } public override bool Unprovokable{ get{ return true; } } public override bool AlwaysMurderer{ get{ return true; } } public override bool Uncalmable{ get{ return true; } } public override Poison PoisonImmune{ get{ return Poison.Lethal; } } public override int TreasureMapLevel{ get{ return 5; } } public JubbaTheHutt( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); } } }