public Satan() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Satan"; Title = "The Dark Lord"; Body = 401; BaseSoundID = 357; SetStr( 500 ); SetDex( 100 ); SetInt( 1000 ); SetHits( 30000 ); SetMana( 5000 ); SetDamage( 17, 21 ); SetDamageType( ResistanceType.Physical, 20 ); SetDamageType( ResistanceType.Fire, 20 ); SetDamageType( ResistanceType.Cold, 20 ); SetDamageType( ResistanceType.Poison, 20 ); SetDamageType( ResistanceType.Energy, 20 ); SetResistance( ResistanceType.Physical, 30 ); SetResistance( ResistanceType.Fire, 30 ); SetResistance( ResistanceType.Cold, 30 ); SetResistance( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Energy, 30 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Magery, 100.0 ); SetSkill( SkillName.Meditation, 120.0 ); SetSkill( SkillName.MagicResist, 150.0 ); SetSkill( SkillName.Tactics, 100.0 ); SetSkill( SkillName.Wrestling, 120.0 ); Fame = 12500; Karma = -28000; VirtualArmor = 64; new SkeletalMount().Rider = this; Item shroud = new HoodedShroudOfShadows(); shroud.Movable = false; AddItem( shroud ); Scythe weapon = new Scythe(); weapon.Skill = SkillName.Wrestling; weapon.Hue = 1; weapon.Movable = false; AddItem( weapon ); PackGem(); PackGold( 2200, 2350 ); }
public ReaperMan () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "The Reaper Guy"; Title = "Of B&T's Most Excelent Adventure"; Body = 400; Hue = 1153; SetStr(380); SetDex(110); SetInt(100); SetHits( 800 ); SetDamage(12, 25); SetDamageType(ResistanceType.Physical, 40); SetSkill(SkillName.MagicResist, 100.0); SetSkill(SkillName.Tactics, 87.0); SetSkill(SkillName.Wrestling, 40.0); SetSkill(SkillName.DetectHidden, 60); SetResistance(ResistanceType.Physical, 50, 60); SetResistance(ResistanceType.Fire, 44, 50); SetResistance(ResistanceType.Cold, 35, 40); SetResistance(ResistanceType.Poison, 25, 30); SetResistance(ResistanceType.Energy, 15, 20); Fame = 24000; Karma = -24000; VirtualArmor = 90; PackItem(new HellKey()); AddItem(new HoodedShroudOfShadows(0x1)); Item staff = new Scythe (); staff.Movable = false; AddItem(staff); }
public GrimReaper() : base( AIType.AI_Melee, FightMode.Evil, 10, 1, 0.2, 0.4 ) { Name = "Grim Reaper"; Body = 400; Hue = 0x497; BaseSoundID = 427; SetStr( 200, 220 ); SetDex( 201, 220 ); SetInt( 200, 250 ); SetHits( 2000, 2300 ); SetDamage( 20, 40 ); SetSkill( SkillName.EvalInt, 100.1, 110.0 ); SetSkill( SkillName.Magery, 70.0); SetSkill( SkillName.Meditation, 100.0 ); SetSkill( SkillName.Tactics, 100.0); SetSkill( SkillName.Wrestling, 150.0); Fame = 10000; Karma = -10000; VirtualArmor = 100; HoodedShroudOfShadows chest = new HoodedShroudOfShadows(); chest.Name = "Shroud of the Grim Reaper"; chest.Hue = 0x807; chest.Movable = false; AddItem( chest ); Scythe hands = new Scythe(); hands.Hue = 0x485; hands.Movable = false; AddItem( hands ); WizardGlasses head = new WizardGlasses(); head.Hue = 0x485; head.Movable = false; AddItem( head ); }
public void MakeScythe(Mobile from) { Scythe weapon = new Scythe(); weapon.NewCrafting = true; weapon.QualityDamage = m_Hilt.GetDamageBonus() / 2 + m_Blade.Damage; weapon.QualitySpeed = m_Hilt.GetSpeedBonus() / 2 + m_Blade.Speed; weapon.QualityAccuracy = m_Hilt.GetHitChanceBonus() / 2 + m_Blade.Attack; weapon.QualityDefense = m_Hilt.GetHitChanceBonus() / 2 + m_Blade.Defense; weapon.Resource = m_Blade.Resource; int quality = (int)(m_Blade.Durability * 0.45 + m_Hilt.MaxHitPoints * 0.55); weapon.MaxHitPoints = quality; weapon.HitPoints = quality; weapon.Crafter = from; weapon.CraftersOriginalName = from.Name; quality = (int)(m_Blade.Quality * 0.55 + ((int)m_Hilt.Quality * 50) * 0.45); if (quality == 500) weapon.Quality = WeaponQuality.Legendary; if (quality < 500) weapon.Quality = WeaponQuality.Masterwork; if (quality < 450) weapon.Quality = WeaponQuality.Illustrious; if (quality < 400) weapon.Quality = WeaponQuality.Extraordinary; if (quality < 350) weapon.Quality = WeaponQuality.Remarkable; if (quality < 300) weapon.Quality = WeaponQuality.Exceptional; if (quality < 250) weapon.Quality = WeaponQuality.Superior; if (quality < 200) weapon.Quality = WeaponQuality.Regular; if (quality < 150) weapon.Quality = WeaponQuality.Inferior; if (quality < 100) weapon.Quality = WeaponQuality.Low; if (quality < 50) weapon.Quality = WeaponQuality.Poor; weapon.BetaNerf = true; weapon.InvalidateProperties(); from.AddToBackpack(weapon); weapon.AddItem(m_Blade); weapon.AddItem(m_Hilt); }
public static string MakeThisTask() { string task = null; switch (Utility.RandomMinMax(1, 10)) { case 1: task = "Repair"; break; case 2: task = "Fix"; break; case 3: task = "Buff"; break; case 4: task = "Modify"; break; case 5: task = "Polish"; break; case 6: task = "Engrave"; break; case 7: task = "Adjust"; break; case 8: task = "Improve"; break; case 9: task = "Smooth the dents from"; break; case 10: task = "Remove the dents from"; break; } Item item = null; switch (Utility.RandomMinMax(1, 79)) { case 1: item = new AssassinSpike(); break; case 2: item = new Axe(); break; case 3: item = new Bardiche(); break; case 4: item = new Bascinet(); break; case 5: item = new BattleAxe(); break; case 6: item = new BoneHarvester(); break; case 7: item = new Broadsword(); break; case 8: item = new BronzeShield(); break; case 9: item = new Buckler(); break; case 10: item = new ButcherKnife(); break; case 11: item = new ChainChest(); break; case 12: item = new ChainCoif(); break; case 13: item = new ChainLegs(); break; case 14: item = new ChampionShield(); break; case 15: item = new Cleaver(); break; case 16: item = new CloseHelm(); break; case 17: item = new CloseHelm(); break; case 18: item = new CrescentBlade(); break; case 19: item = new CrestedShield(); break; case 20: item = new Cutlass(); break; case 21: item = new Dagger(); break; case 22: item = new DarkShield(); break; case 23: item = new DiamondMace(); break; case 24: item = new DoubleAxe(); break; case 25: item = new DoubleBladedStaff(); break; case 26: item = new DreadHelm(); break; case 27: item = new ElvenMachete(); break; case 28: item = new ElvenShield(); break; case 29: item = new ElvenSpellblade(); break; case 30: item = new ExecutionersAxe(); break; case 31: item = new FemalePlateChest(); break; case 32: item = new GuardsmanShield(); break; case 33: item = new Halberd(); break; case 34: item = new HammerPick(); break; case 35: item = new HeaterShield(); break; case 36: item = new Helmet(); break; case 37: item = new Helmet(); break; case 38: item = new JeweledShield(); break; case 39: item = new Katana(); break; case 40: item = new Kryss(); break; case 41: item = new Lance(); break; case 42: item = new LargeBattleAxe(); break; case 43: item = new Leafblade(); break; case 44: item = new Longsword(); break; case 45: item = new Mace(); break; case 46: item = new Maul(); break; case 47: item = new MetalKiteShield(); break; case 48: item = new MetalShield(); break; case 49: item = new NorseHelm(); break; case 50: item = new NorseHelm(); break; case 51: item = new OrnateAxe(); break; case 52: item = new Pickaxe(); break; case 53: item = new Pike(); break; case 54: item = new Pitchfork(); break; case 55: item = new PlateArms(); break; case 56: item = new PlateChest(); break; case 57: item = new PlateGloves(); break; case 58: item = new PlateGorget(); break; case 59: item = new PlateHelm(); break; case 60: item = new PlateHelm(); break; case 61: item = new PlateLegs(); break; case 62: item = new RadiantScimitar(); break; case 63: item = new RingmailArms(); break; case 64: item = new RingmailChest(); break; case 65: item = new RingmailGloves(); break; case 66: item = new RingmailLegs(); break; case 67: item = new RuneBlade(); break; case 68: item = new Scimitar(); break; case 69: item = new Scythe(); break; case 70: item = new ShortSpear(); break; case 71: item = new SkinningKnife(); break; case 72: item = new Spear(); break; case 73: item = new ThinLongsword(); break; case 74: item = new TwoHandedAxe(); break; case 75: item = new VikingSword(); break; case 76: item = new WarAxe(); break; case 77: item = new WarCleaver(); break; case 78: item = new WarHammer(); break; case 79: item = new WarMace(); break; } if (Utility.RandomMinMax(1, 5) == 1) { bool evil = false; bool orient = false; switch (Utility.RandomMinMax(1, 8)) { case 1: evil = true; break; case 2: orient = true; break; } string sAdjective = "unusual"; string eAdjective = "might"; sAdjective = Server.LootPackEntry.MagicItemAdj("start", orient, evil, item.ItemID); eAdjective = Server.LootPackEntry.MagicItemAdj("end", orient, evil, item.ItemID); string name = "item"; string xName = ContainerFunctions.GetOwner("property"); if (item.Name != null && item.Name != "") { name = item.Name.ToLower(); } if (name == "item") { name = MorphingItem.AddSpacesToSentence((item.GetType()).Name).ToLower(); } switch (Utility.RandomMinMax(0, 5)) { case 0: name = sAdjective + " " + name + " of " + xName; break; case 1: name = name + " of " + xName; break; case 2: name = sAdjective + " " + name; break; case 3: name = sAdjective + " " + name + " of " + xName; break; case 4: name = name + " of " + xName; break; case 5: name = sAdjective + " " + name; break; } task = task + " their " + name; } else { string[] sMetals = new string[] { "iron ", "dull copper ", "shadow iron ", "copper ", "bronze ", "gold ", "agapite ", "verite ", "valorite ", "nepturite ", "obsidian ", "steel ", "brass ", "mithril ", "xormite ", "dwarven " }; string sMetal = sMetals[Utility.RandomMinMax(0, (sMetals.Length - 1))]; string name = "item"; if (item.Name != null && item.Name != "") { name = item.Name.ToLower(); } if (name == "item") { name = MorphingItem.AddSpacesToSentence((item.GetType()).Name).ToLower(); } task = task + " their " + sMetal + name; } item.Delete(); return(task); }
public VampireFighter() : base(AIType.AI_Stealth, FightMode.Closest, 10, 1, 0.2, 0.4) { if ( Female = Utility.RandomBool() ) { Body = 0x191; Name = NameList.RandomName( "female" ); } else { Body = 0x190; Name = NameList.RandomName( "male" ); } Hue = 1150; BaseSoundID = 0x4B0; SetStr( 100, 105 ); SetDex( 128, 131 ); SetInt( 60, 62 ); SetHits( 218, 225 ); SetDamage( 15, 22 ); SetDamageType( ResistanceType.Physical, 50 ); SetDamageType( ResistanceType.Cold, 50 ); SetResistance( ResistanceType.Physical, 40 ); SetResistance( ResistanceType.Fire, -10 ); SetResistance( ResistanceType.Cold, 35 ); SetResistance( ResistanceType.Poison, 35 ); SetResistance( ResistanceType.Energy, 35 ); SetSkill( SkillName.SpiritSpeak, 100.0 ); SetSkill( SkillName.Necromancy, 50.0 ); SetSkill( SkillName.Focus, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 100.1, 102.0 ); SetSkill( SkillName.Tactics, 100.0 ); SetSkill( SkillName.Anatomy, 100.0 ); SetSkill( SkillName.Swords, 100.1, 120.0 ); SetSkill( SkillName.Fencing, 100.1, 120.0 ); SetSkill( SkillName.Parry, 100.0 ); Fame = 9000; Karma = -14000; VirtualArmor = 5; AddItem( new LeatherChest() ); AddItem( new LeatherLegs() ); AddItem( new LeatherArms() ); AddItem( new LeatherCap() ); AddItem( new LeatherGloves() ); AddItem( new LeatherGorget() ); switch ( Utility.Random( 5 )) { case 0: { WarFork fork = new WarFork(); fork.Movable = false; fork.WeaponAttributes.HitLeechHits = 100; AddItem( fork ); AddItem( new WoodenKiteShield() ); break; } case 1: { Scythe kosa = new Scythe(); kosa.Movable = false; kosa.WeaponAttributes.HitLeechHits = 100; AddItem( kosa ); break; } case 2: { BoneHarvester surp = new BoneHarvester(); surp.Movable = false; surp.WeaponAttributes.HitLeechHits = 100; AddItem( surp ); AddItem( new WoodenKiteShield() ); break; } case 3: { Spear kopie = new Spear(); kopie.Movable = false; kopie.WeaponAttributes.HitLeechHits = 100; AddItem( kopie ); break; } case 4: { Pike pika = new Pike(); pika.Movable = false; pika.WeaponAttributes.HitLeechHits = 100; AddItem( pika ); break; } } Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomNondyedHue(); hair.Layer = Layer.Hair; AddItem( hair ); }
public GuardiansChestWeaponsmith() : base(0xE43) { Name = "a metal chest -20-"; Movable = true; Weight = 1000.0; Hue = 83; TrapPower = 0; Locked = true; RequiredSkill = 20; LockLevel = 20; MaxLockLevel = 25; // Gold if (Utility.RandomDouble() < 0.25) { DropItem(new Gold(Utility.Random(1, 50))); } // Supplies if (Utility.RandomDouble() < 0.05) { DropItem(new CrescentBlade()); } if (Utility.RandomDouble() < 0.10) { DropItem(new Scepter()); } if (Utility.RandomDouble() < 0.05) { DropItem(new Scythe()); } if (Utility.RandomDouble() < 0.10) { DropItem(new Arrow(Utility.Random(25, 30))); } /////////////////////////////////////// Rare Items if (Utility.RandomDouble() < 0.15) { BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(11)) { case 0: weapon = new BladedStaff(); break; case 1: weapon = new BoneHarvester(); break; case 2: weapon = new CompositeBow(); break; case 3: weapon = new CrescentBlade(); break; case 4: weapon = new DoubleBladedStaff(); break; case 5: weapon = new Lance(); break; case 6: weapon = new PaladinSword(); break; case 7: weapon = new Pike(); break; case 8: weapon = new RepeatingCrossbow(); break; case 9: weapon = new Scepter(); break; default: weapon = new Scythe(); break; } BaseRunicTool.ApplyAttributesTo(weapon, 5, 15, 20); DropItem(weapon); } }
public GrimReaper() : base( AIType.AI_Necro, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a Grim Reaper"; Body = 400; Hue = 01; BaseSoundID = 451; SetStr( 150 ); SetDex( 150 ); SetInt( 150 ); SetHits( 5000 ); SetMana( 5000 ); SetDamage( 10, 25 ); SetDamageType( ResistanceType.Physical, 40 ); SetDamageType( ResistanceType.Cold, 30 ); SetDamageType( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Physical, 70 ); SetResistance( ResistanceType.Fire, 60 ); SetResistance( ResistanceType.Cold, 90 ); SetResistance( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Energy, 50 ); SetSkill( SkillName.SpiritSpeak, 120.0 ); SetSkill( SkillName.Necromancy, 120.0 ); SetSkill( SkillName.Poisoning, 120.0 ); SetSkill( SkillName.Meditation, 120.0 ); SetSkill( SkillName.Anatomy, 120.0 ); SetSkill( SkillName.MagicResist, 120.0 ); SetSkill( SkillName.Healing, 120.0 ); SetSkill( SkillName.Swords, 120.0 ); Fame = 8000; Karma = -24000; VirtualArmor = 60; new SkeletalMount().Rider = this; Item arms = new DaemonArms(); arms.Hue = 0x455; arms.Movable = false; Item legs = new DaemonLegs(); legs.Hue = 0x455; legs.Movable = false; Item gloves = new DaemonGloves(); gloves.Hue = 0x455; gloves.Movable = false; Item chest = new DaemonChest(); chest.Hue = 0x455; chest.Movable = false; Item shroud = new HoodedShroudOfShadows(); shroud.Hue = 0x455; shroud.Movable = false; Item shoes = new Sandals(); shoes.Hue = 0x455; shoes.Movable = false; Scythe weapon = new Scythe(); weapon.DamageLevel = (WeaponDamageLevel)Utility.Random( 5, 6 ); weapon.DurabilityLevel = (WeaponDurabilityLevel)Utility.Random( 5, 6 ); weapon.AccuracyLevel = (WeaponAccuracyLevel)Utility.Random( 5, 6 ); weapon.Skill = SkillName.Swords; weapon.Speed = 46; weapon.Hue = 0x151; weapon.Weight = 1.0; weapon.Movable = false; weapon.Attributes.SpellChanneling = 1; AddItem( weapon ); AddItem( gloves ); AddItem( arms ); AddItem( chest ); AddItem( legs ); AddItem( shoes ); AddItem( shroud ); PackGold( 5000, 7500 ); PackNecroReg( 50, 100 ); PackItem( new NecromancerSpellbook( (UInt64)0xFFFF ) ); }