using System; using Server; using Server.Mobiles; using Server.Items; using Server.SpellCrafting.Items; namespace Server.SpellCrafting.Mobiles { [CorpseName( "a Viking of the lands" )] public class Viking : BaseCreature { private static string[] m_Names = new string[] { "Klang", "Vanguard", "Roar", "Corbin", "Raster", "Shifty", "Bad Martin" }; private static string[] m_Last = new string[] { "Con Man", "Religious Freak", "The Mac Dady", "No Can Defend", "The Timid" }; [Constructable] public Viking() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = m_Names[Utility.Random(m_Names.Length)]; Title = m_Last[Utility.Random(m_Last.Length)]; Body = 0x7B; Hue = Utility.RandomSkinHue(); SetStr( 1000, 1030 ); SetDex( 300, 800 ); SetInt( 300, 1000 ); SetHits( 30000, 60000 ); SetDamage( 100, 350 ); SetDamageType( ResistanceType.Physical, 300 ); SetResistance( ResistanceType.Physical, 70, 70 ); SetResistance( ResistanceType.Fire, 50, 70 ); SetResistance( ResistanceType.Cold, 50, 70 ); SetResistance( ResistanceType.Poison, 50, 70 ); SetResistance( ResistanceType.Energy, 50, 70 ); SetSkill( SkillName.EvalInt, 90.0, 100.0 ); SetSkill( SkillName.Magery, 180.0, 250.0 ); SetSkill( SkillName.Meditation, 95.0, 400.0 ); SetSkill( SkillName.MagicResist, 100.0, 120.0 ); SetSkill( SkillName.Tactics, 90.0, 100.0 ); SetSkill( SkillName.Wrestling, 90.0, 100.0 ); Fame = 13000; Karma = -13000; VirtualArmor = 800; int hue = Utility.RandomNeutralHue(); AddItem( new Tunic( hue ) ); AddItem( new Sandals() ); AddItem( new Cap( hue ) ); PackItem( SpellCraft.RandomCraft( .35 ) ); PackItem( SpellCraft.RandomCraft( .35 ) ); PackItem( SpellCraft.RandomCraft( .35 ) ); PackGold( 400, 600 ); PackItem( new MagicJewel( 8 ) ); PackMagicItems( 2, 4, 0.45, 0.35 ); } public override bool CanRummageCorpses{ get{ return true; } } public override Poison PoisonImmune{ get{ return Poison.Lethal; } } public override int TreasureMapLevel{ get{ return 5; } } public override bool ShowFameTitle{ get{ return false; } } public override bool AlwaysMurderer{ get{ return true; } } public Viking( 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(); } } }