protected override void Init() { base.Init(); // Create and fully evolve the creature // Buff it up SetStr(Str * 1); SetDex(Dex * 1); SetStam(Stam * Utility.RandomMinMax(2, 4)); SetInt((int)(Int * 1)); SetMana((int)(Mana * 2)); SetHits(Hits * Utility.RandomMinMax(15, 20)); SetDamage(20, 25); VirtualArmor *= 2; ColdDamage *= 2; PoisonDamage *= 2; PhysicalDamage = 0; BaseEvoSpec spec = GetEvoSpec(); if (null != spec && null != spec.Skills) { for (int i = 0; i < spec.Skills.Length; i++) { SetSkill(spec.Skills[i], (double)(spec.MaxSkillValues[i]) * 1.10, (double)(spec.MaxSkillValues[i]) * 1.50); } } this.Tamable = false; // Not appropriate as a pet Title = ""; m_RedOrBlue = Utility.RandomBool(); FightMode = (FightMode)Utility.RandomMinMax((int)FightMode.Aggressor, (int)FightMode.Evil); // Now dress it up AddItem(new LeatherArms()); AddItem(new LeatherChest()); m_RedOrBlue = Utility.RandomBool(); FightMode = (FightMode)Utility.RandomMinMax((int)FightMode.Aggressor, (int)FightMode.Evil); AddItem(new LeatherLegs()); AddItem(new Boots()); SpiritOfTheTotem totem = new SpiritOfTheTotem(); totem.LootType = .05 > Utility.RandomDouble() ? LootType.Regular : LootType.Blessed; BladeOfInsanity blade = new BladeOfInsanity(); blade.LootType = LootType.Blessed; blade.Movable = false; blade.MaxHitPoints = -1; GauntletsOfNobility gloves = new GauntletsOfNobility(); gloves.LootType = .05 > Utility.RandomDouble() ? LootType.Regular : LootType.Blessed; JackalsCollar collar = new JackalsCollar(); collar.LootType = .05 > Utility.RandomDouble() ? LootType.Regular : LootType.Blessed; AddItem(totem); AddItem(blade); AddItem(gloves); AddItem(collar); PackItem(new Bandage(Utility.RandomMinMax(5000, 7000))); new Nightmare().Rider = this; }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; switch (info.ButtonID) { case 0: //Close Gump { from.CloseGump(typeof(ArtifactGump)); break; } case 1: // Axe of the Heavens { Item item = new AxeOfTheHeavens(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 2: // Blade of insanity { Item item = new BladeOfInsanity(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 3: //Blade of the Righteous { Item item = new BladeOfTheRighteous(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 4: //Bone Crusher { Item item = new BoneCrusher(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 5: //Breath of the Dead { Item item = new BreathOfTheDead(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 6: //Frostbringer { Item item = new Frostbringer(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 7: //Legacy of the Dread Lord { Item item = new LegacyOfTheDreadLord(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 8: //Serpent's Fang { Item item = new SerpentsFang(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 9: //Staff of the Magi { Item item = new StaffOfTheMagi(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 10: //The Beserker's Maul { Item item = new TheBeserkersMaul(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 11: //The Dragon Slayer { Item item = new TheDragonSlayer(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 12: //Titans Hammer { Item item = new TitansHammer(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 13: //The Taskmaster { Item item = new TheTaskmaster(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 14: //Zyronic Claw { Item item = new ZyronicClaw(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 15: //The Dryad Bow { Item item = new TheDryadBow(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 16: //Armor of Fortune { Item item = new ArmorOfFortune(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 17: //Gauntlets of Nobility { Item item = new GauntletsOfNobility(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 18: //Helm of Insight { Item item = new HelmOfInsight(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 19: //Holy Knights Breastplate { Item item = new HolyKnightsBreastplate(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 20: //Jackal's Collar { Item item = new JackalsCollar(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 21: //Leggings of Bane { Item item = new LeggingsOfBane(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 22: //Midnight Bracers { Item item = new MidnightBracers(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 23: //Ornate Crown of the Harrower { Item item = new OrnateCrownOfTheHarrower(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 24: //Shadow Dancer Leggings { Item item = new ShadowDancerLeggings(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 25: //Inquisitor's Resolution { Item item = new InquisitorsResolution(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 26: //Tunic of Fire { Item item = new TunicOfFire(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 27: //Voice of the Fallen King { Item item = new VoiceOfTheFallenKing(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 29: //Bracelet of Health { Item item = new BraceletOfHealth(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 30: //Ornament of the Magician { Item item = new OrnamentOfTheMagician(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 31: //Ring of the Elements { Item item = new RingOfTheElements(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 32: //Ring of the Vile { Item item = new RingOfTheVile(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 34: //Aegis { Item item = new Aegis(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 35: //Arcane Shield { Item item = new ArcaneShield(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 36: //Divine Countenance { Item item = new DivineCountenance(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 37: //Hat of the Magi { Item item = new HatOfTheMagi(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 38: //Hunters Headdress { Item item = new HuntersHeaddress(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } case 39: //Spirit of the Totem { Item item = new SpiritOfTheTotem(); item.LootType = LootType.Blessed; from.AddToBackpack(item); from.CloseGump(typeof(ArtifactGump)); m_Deed.Delete(); break; } } }