using System; using Server; using Server.Items; namespace Server.Mobiles { [CorpseName( "a necrobus's corpse" )] public class Necrobus : BaseCreature { [Constructable] public Necrobus() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a necrobus"; Body = 0x102; BaseSoundID = 451; Hue = 1743; SetStr( 171, 200 ); SetDex( 126, 145 ); SetInt( 276, 305 ); SetHits( 120, 140 ); SetDamage( 24, 28 ); SetDamageType( ResistanceType.Physical, 10 ); SetDamageType( ResistanceType.Cold, 100 ); SetDamageType( ResistanceType.Energy, 50 ); SetResistance( ResistanceType.Physical, 40, 60 ); SetResistance( ResistanceType.Fire, 20, 30 ); SetResistance( ResistanceType.Cold, 80, 100 ); SetResistance( ResistanceType.Poison, 85, 105 ); SetResistance( ResistanceType.Energy, 40, 50 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Magery, 70.1, 80.0 ); SetSkill( SkillName.Meditation, 85.1, 95.0 ); SetSkill( SkillName.MagicResist, 80.1, 100.0 ); SetSkill( SkillName.Tactics, 70.1, 90.0 ); Fame = 8000; Karma = -8000; VirtualArmor = 50; PackItem( new GnarledStaff() ); PackNecroReg( 17, 24 ); } public override void GenerateLoot() { AddLoot( LootPack.Rich ); AddLoot( LootPack.MedScrolls, 2 ); } public override OppositionGroup OppositionGroup { get{ return OppositionGroup.FeyAndUndead; } } public override bool CanRummageCorpses{ get{ return true; } } public override bool BleedImmune{ get{ return true; } } public override Poison PoisonImmune{ get{ return Poison.Lethal; } } public override int TreasureMapLevel{ get{ return 3; } } public Necrobus( 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(); } } }