public Artist1() : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomDyedHue(); Title = "the artist"; Hue = Utility.RandomSkinHue(); if ( this.Female = Utility.RandomBool() ) { Body = 0x191; Name = NameList.RandomName( "female" ); AddItem( new Skirt( Utility.RandomNeutralHue() ) ); } else { Body = 0x190; Name = NameList.RandomName( "male" ); AddItem( new ShortPants( Utility.RandomNeutralHue() ) ); } SetStr( 86, 100 ); SetDex( 81, 95 ); SetInt( 61, 75 ); SetDamage( 10, 23 ); SetSkill( SkillName.Tactics, 65.0, 87.5 ); SetSkill( SkillName.Wrestling, 15.0, 37.5 ); Fame = 1000; Karma = 1000; AddItem( new HalfApron()); switch ( Utility.Random( 2 ) ) { case 0: AddItem( new FancyShirt( Utility.RandomNeutralHue() ) ); break; case 1: AddItem( new Shirt( Utility.RandomNeutralHue() ) ); break; } if ( Utility.Random( 100 ) < 2 ) { Sandals sandals = new Sandals(); sandals.Hue = 1; AddItem( sandals ); } else { switch ( Utility.Random( 3 ) ) { case 0: AddItem( new Sandals( Utility.RandomNeutralHue() ) );; break; case 1: AddItem( new Sandals( Utility.RandomNondyedHue() ) ); break; case 2: AddItem( new Shoes() );; break; } } PackItem( new PaintsAndBrush() ); //AddItem( Server.Items.Hair.GetRandomHair( Female ) ); Utility.AssignRandomHair( this ); }
public MaleHealerEscortTemplate() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 71, 85 ); SetDex( 81, 95 ); SetInt( 86, 100 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 65, 87.5 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Healing, 55, 77.5 ); SetSkill( SkillName.Anatomy, 55, 77.5 ); SetSkill( SkillName.SpiritSpeak, 55, 77.5 ); SetSkill( SkillName.Forensics, 35, 57.5 ); Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = Utility.RandomYellowHue(); AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); LootPack.HighScrolls.Generate( this ); LootPack.HighScrolls.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Robe(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); LootPack.HighScrolls.Generate( this ); LootPack.HighScrolls.Generate( this ); } }
public EvilMageLord() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.45, 0.8) { Body = 400; Title = "the mage"; Name = "Lord " + NameList.RandomName( "evil mage" ); Hue = Utility.RandomSkinHue(); SetStr( 81, 105 ); SetDex( 91, 115 ); SetInt( 126, 150 ); Karma = -125; SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 75, 97.5 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Magery, 95.1, 100 ); SetSkill( SkillName.Wrestling, 20.2, 60 ); VirtualArmor = 18; SetDamage( 3, 12 ); Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = 1106+Utility.Random( 4 ); // 1106 to 1109 AddItem( item ); item = new Sandals(); AddItem( item ); LootPack.FilthyRich.Generate( this ); LootPack.HighScrolls.Generate( this ); LootPack.HighScrolls.Generate( this ); }
public KhaldunSummoner() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 0x190; Name = "Zealot of Khaldun"; Title = "the Summoner"; SetStr( 351, 400 ); SetDex( 101, 150 ); SetInt( 502, 700 ); SetHits( 421, 480 ); SetDamage( 5, 15 ); SetDamageType( ResistanceType.Physical, 75 ); SetDamageType( ResistanceType.Cold, 25 ); SetResistance( ResistanceType.Physical, 35, 40 ); SetResistance( ResistanceType.Fire, 25, 30 ); SetResistance( ResistanceType.Cold, 50, 60 ); SetResistance( ResistanceType.Poison, 25, 35 ); SetResistance( ResistanceType.Energy, 25, 35 ); SetSkill( SkillName.Wrestling, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Meditation, 120.1, 130.0 ); VirtualArmor = 16; Fame = 10000; Karma = -10000; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; AddItem( gloves ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x835; AddItem( helm ); Necklace necklace = new Necklace(); necklace.Hue = 0x66D; AddItem( necklace ); Cloak cloak = new Cloak(); cloak.Hue = 0x66D; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 0x66D; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 0x66D; AddItem( sandals ); }
public DemonScholar() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a demonic scholar"; Body = 400; BaseSoundID = 412; Hue = 1175; SetStr( 416, 505 ); SetDex( 146, 165 ); SetInt( 566, 655 ); SetHits( 250, 303 ); SetDamage( 11, 13 ); SetSkill( SkillName.EvalInt, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 150.5, 200.0 ); SetSkill( SkillName.Tactics, 50.1, 70.0 ); SetSkill( SkillName.Wrestling, 60.1, 80.0 ); Fame = 18000; Karma = -18000; VirtualArmor = 50; Lantern hands = new Lantern(); hands.Name = "latern of souls"; hands.Hue = 1258; hands.Movable = false; AddItem( hands ); Spellbook hands2 = new Spellbook(); hands2.Name = "ancient spellbook"; hands2.Hue = 1158; hands2.Movable = false; hands2.Content = ulong.MaxValue; AddItem( hands2 ); HoodedShroudOfShadows chest = new HoodedShroudOfShadows(); chest.Name = "hooded shroud"; chest.Hue = 1175; chest.Movable = false; AddItem( chest ); Sandals feet = new Sandals(); feet.Name = "sandals"; feet.Hue = 1258; feet.Movable = false; AddItem( feet ); PackReg( 30 ); if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSandals() ); if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonDoublet() ); if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonWizardsHat() ); if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonHalfApron() ); if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSkirt() ); }
public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Title = "the Summoner"; SetStr(1254, 1381); SetDex(93, 135); SetInt(745, 810); SetHits(694, 875); SetDamage(12, 20); SetSkill( SkillName.Wrestling, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Meditation, 120.1, 130.0 ); VirtualArmor = 36; Fame = 10000; Karma = -10000; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; gloves.Identified = true; AddItem( Immovable(gloves) ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x835; helm.Identified = true; AddItem( Immovable(helm) ); Necklace necklace = new Necklace(); necklace.Hue = 0x66D; AddItem( Immovable(necklace) ); Cloak cloak = new Cloak(); cloak.Hue = 0x66D; AddItem( Immovable(cloak) ); Kilt kilt = new Kilt(); kilt.Hue = 0x66D; AddItem( Immovable(kilt) ); Sandals sandals = new Sandals(); sandals.Hue = 0x66D; AddItem( Immovable(sandals) ); }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 4; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 20; from.Dex += 10; from.Int += 20; from.Skills.Focus.Base = 10; from.Skills.Necromancy.Base = 50; from.Skills.SpiritSpeak.Base = 50; from.Skills.Swords.Base = 50; HoodedShroudOfShadows robe = new HoodedShroudOfShadows(); robe.Hue = 0; robe.Identified = true; from.AddToBackpack(robe); Sandals boots = new Sandals(); boots.Hue = 0x8FD; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new FullNecromancerbook()); from.BankBox.DropItem(new BagOfNecroReagents(300)); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); World.Broadcast(0x35, true, "Another has chosen thy path of the Necromancer!"); from.CloseGump(typeof(NecromancerClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Necromancer is not in your best interests."); from.CloseGump(typeof(NecromancerClassGump)); break; } } }
public EvilVampire () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = NameList.RandomName( "male" ); Body = 400; Title = "the Vampire Lord"; BaseSoundID = 0x482;; Hue = 0; SetStr( 350, 500 ); SetDex( 100, 105 ); SetInt( 3000, 4000 ); SetHits( 2500, 3750 ); SetDamage( 40, 50 ); SetDamageType( ResistanceType.Physical, 20 ); SetDamageType( ResistanceType.Cold, 60 ); SetDamageType( ResistanceType.Energy, 40 ); SetResistance( ResistanceType.Physical, 40, 50 ); SetResistance( ResistanceType.Fire, 30, 40 ); SetResistance( ResistanceType.Cold, 50, 60 ); SetResistance( ResistanceType.Poison, 50, 60 ); SetResistance( ResistanceType.Energy, 40, 50 ); SetSkill( SkillName.EvalInt, 150.1, 200.0 ); SetSkill( SkillName.Magery, 150.1, 200.0 ); SetSkill( SkillName.MagicResist, 200, 250.0 ); SetSkill( SkillName.Tactics, 150.0, 200.0 ); SetSkill( SkillName.Wrestling, 150.0, 200.0 ); Fame = 20000; Karma = -10000; VirtualArmor = 90; PackGem(); PackGem(); PackGold( 5000, 10000 ); PackScroll( 3, 8 ); PackScroll( 3, 8 ); PackMagicItems( 1, 5, 0.80, 0.75 ); PackMagicItems( 3, 5, 0.60, 0.45 ); PackSlayer( 1 ); AddItem( new BlackStaff() ); Item m_ShortPants = new ShortPants( Utility.RandomRedHue() ); m_ShortPants.LootType = LootType.Blessed; AddItem( m_ShortPants ); Item m_Doublet = new Doublet( Utility.RandomRedHue() ); m_Doublet.LootType = LootType.Blessed; AddItem( m_Doublet ); Item m_sandals = new Sandals( Utility.RandomRedHue() ); m_sandals.LootType = LootType.Blessed; AddItem( m_sandals ); AddItem( new PonyTail( Utility.RandomRedHue() ) ); }
public Beggar() { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the beggar"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 26, 40 ); SetDex( 21, 35 ); SetInt( 36, 50 ); Karma = Utility.RandomMinMax( 4, -5 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Begging, 55, 77.5 ); SetSkill( SkillName.Snooping, 25, 47.5 ); SetSkill( SkillName.Stealing, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); if ( Utility.RandomBool() ) { item = new Sandals(); AddItem( item ); } LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); if ( Utility.RandomBool() ) { item = new Sandals(); AddItem( item ); } LootPack.Poor.Generate( this ); } }
public EithkaOcksra() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Eithka Ocksra"; Body = 0x190; Hue = 0x492; SetStr( 100 ); //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere. SetDex( 100 ); SetInt( 100 ); SetHits( 600, 700 ); // here are his hits according to the spherescript. random between 250 and 350 SetStam( 350, 450 ); SetDamage( 15, 20 ); //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked. SetSkill( SkillName.Swords, 110.0 ); //we dont need to give him uberskillz SetSkill( SkillName.Tactics, 110.0 ); SetSkill( SkillName.MagicResist, 100.0 ); SetSkill( SkillName.Parry, 100.0 ); SetSkill( SkillName.Wrestling, 100.0 ); Fame = 3900; Karma = -4000; VirtualArmor = 70; //this might need to be tweaked //Here we add his loot. I'm omitting his gloves since that's later in his dress. //PackGold(1000, 1500); //Now we dress him Item shroud = new HoodedShroudOfShadows(); //since we want a custom shroud, we define it here. shroud.Movable = false; //this way we dont let the shroud drop shroud.Hue = 0x492; //omg more props AddItem( shroud ); //add the item Item smurfshoes = new Sandals(); //since sandals are already a class i've named it smurfshoes. It doesnt matter what we call it. smurfshoes.Movable = false; // leet shoes for the players? GM tailoring kthx. smurfshoes.Hue = 0x492; // more props AddItem( smurfshoes ); //add the item Scimitar weapon = new Scimitar(); //same thing. define the weapon. weapon.Movable = false; weapon.Skill = SkillName.Swords; //props weapon.Hue = 0x492; //we're leet weapon.Speed = 65; //set the speed to 5 higher than the cho ku no. weapon.DamageLevel = WeaponDamageLevel.Force; //katana of force AddItem( weapon ); //add the weapon Item gloves = new PlateGloves(); // here we add his gloves. this time we let them drop gloves.Hue = 0x492; //omg more props AddItem( gloves ); //add the item MetalShield shie = new MetalShield(); shie.Hue = 0x0492; shie.ProtectionLevel = ArmorProtectionLevel.Hardening; AddItem( shie ); }
public SilverDonationBoxAoS() { Weight = 1.0; Hue = 2401; Item item = null; Name = "Defiance Gold Member Box of Holding"; CharacterCreation.PlaceItemIn(this, 16, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 28, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 40, 60, (item = new DonationSkillBall( 25, false ))); CharacterCreation.PlaceItemIn(this, 16, 81, (item = new HoodedShroudOfShadows())); item.Hue = 2401; item.Name = "Silver Shroud of Shadows"; item.LootType = LootType.Blessed; BaseContainer cont; CharacterCreation.PlaceItemIn(this, 58, 57, (cont = new Backpack())); cont.Hue = 2401; cont.Name = "a silver bag"; CharacterCreation.PlaceItemIn(cont, 29, 39, new SulfurousAsh(5000)); CharacterCreation.PlaceItemIn(cont, 29, 64, new Nightshade(5000)); CharacterCreation.PlaceItemIn(cont, 29, 89, new SpidersSilk(5000)); CharacterCreation.PlaceItemIn(cont, 60, 64, new Garlic(5000)); CharacterCreation.PlaceItemIn(cont, 60, 89, new Ginseng(5000)); CharacterCreation.PlaceItemIn(cont, 88, 39, new Bloodmoss(5000)); CharacterCreation.PlaceItemIn(cont, 88, 64, new BlackPearl(5000)); CharacterCreation.PlaceItemIn(cont, 88, 89, new MandrakeRoot(5000)); CharacterCreation.PlaceItemIn(this, 103, 58, (item = new Sandals())); item.Hue = Utility.RandomList(5, 70, 90, 110); item.LootType = LootType.Blessed; CharacterCreation.PlaceItemIn(this, 122, 53, new SpecialDonateDye()); CharacterCreation.PlaceItemIn(this, 156, 55, (item = new EtherealHorse())); item.Hue = 2401; item.Name = "No Aged Ethereal"; ((EtherealMount)item).IsDonationItem = true; CharacterCreation.PlaceItemIn(this, 43, 83, (item = new ClothingBlessDeed())); item.Hue = 2401; CharacterCreation.PlaceItemIn(this, 63, 83, (item = new KillResetDeedAOS())); //by Blady item.Hue = 2213; CharacterCreation.PlaceItemIn(this, 83, 83, (item = new SmallBrickHouseDeed())); item.Hue = 2401; CharacterCreation.PlaceItemIn(this, 103, 83, (item = new NameChangeDeed())); item.Hue = 2401; CharacterCreation.PlaceItemIn(this, 123, 83, (item = new AntiBlessDeed())); item.Hue = 2401; CharacterCreation.PlaceItemIn(this, 143, 83, (item = new MembershipTicket())); item.Hue = 2213; ((MembershipTicket)item).MemberShipTime = TimeSpan.MaxValue; }
public BookCollector() : base() //----------------------------------------------------------------------------------------------------// { Body = 400; Hue = Utility.RandomSkinHue(); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); } else { Name = NameList.RandomName("male"); } //----------------------------------------------------------------------------------------------------// //Title = "[A Book Collector]"; //CantWalk = true; Direction = Direction.South; Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); Blessed = true; BodySash bs = new BodySash(); bs.Hue = 33; AddItem(bs); //PlateArms pa = new PlateArms(); //pa.Hue = 0; //AddItem(pa); FormalShirt pc = new FormalShirt(); pc.Hue = 0; AddItem(pc); //PlateGloves pg = new PlateGloves(); //pg.Hue = 0; //AddItem(pg); LongPants pl = new LongPants(); pl.Hue = 0; AddItem(pl); Sandals pt = new Sandals(); pt.Hue = 0; AddItem(pt); //----------------------------------------------------------------------------------------------------// }
public Earthcaller() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2 ) { Title = "the Earthcaller"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName( "male" ); BaseSoundID = 0; Kills = 10; ShortTermMurders = 10; Item StrawHat = new StrawHat(); StrawHat.Movable=false; StrawHat.Hue=1021; EquipItem( StrawHat ); Item Robe = new Robe(); Robe.Movable=false; Robe.Hue=1021; EquipItem( Robe ); Item Sandals = new Sandals(); Sandals.Movable=false; Sandals.Hue=1021; EquipItem( Sandals ); SetStr( 200, 220 ); SetDex( 136, 145 ); SetDamage( 10, 17 ); SetSkill( SkillName.Wrestling, 95.3, 98.8 ); SetSkill( SkillName.Tactics, 93.5, 97.0 ); SetSkill( SkillName.MagicResist, 96.6, 99.8); Fame = 12500; Karma = -12500; VirtualArmor = 50; switch( Utility.Random(125) ) { case 0: PackItem( new EnchantedWood() ); break; } PackGold( 500, 800 ); PackPotion(); PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) ); PackArmor( 0, 5 ); PackWeapon( 0, 5 ); PackSlayer(); if ( 0.05 > Utility.RandomDouble() ) PackItem( new Obsidian() ); }
public WindSummoner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2 ) { Title = "the Wind Summoner"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName( "male" ); BaseSoundID = 0; Item hat = new WizardsHat(); hat.Movable = false; hat.Hue = 1154; EquipItem( hat ); Item shirt = new Shirt(); shirt.Movable = false; shirt.Hue = 1154; EquipItem( shirt ); Item skirt = new Skirt(); skirt.Movable = false; skirt.Hue = 1154; EquipItem( skirt ); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1154; EquipItem( Sandals ); SetStr( 110, 120 ); SetDex( 86, 95 ); SetInt( 161, 170 ); SetHits( 120, 130 ); SetDamage( 5, 13 ); SetSkill( SkillName.Wrestling, 70.3, 77.8 ); SetSkill( SkillName.Tactics, 80.5, 87.0 ); SetSkill( SkillName.MagicResist, 90.6, 92.8); SetSkill( SkillName.Magery, 94.7, 96.0 ); SetSkill( SkillName.EvalInt, 40.1, 44.1 ); SetSkill( SkillName.Meditation, 21.1, 30.1 ); Fame = 9000; Karma = -9000; VirtualArmor = 45; PackPotion(); PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) ); if ( 0.005 > Utility.RandomDouble() ) PackItem( new ObsidianStatue() ); }
public EithkaUlesra() : base( AIType.AI_Archer, FightMode.Closest, 10, 5, 0.2, 0.4 ) { Name = "Eithka Ulesra"; Body = 0x190; Hue = 0x798; SetStr( 100 ); //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere. SetDex( 100 ); SetInt( 100 ); SetHits( 250, 350 ); // here are his hits according to the spherescript. random between 250 and 350 SetStam( 350, 450 ); SetDamage( 10, 15 ); //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked. SetSkill( SkillName.Archery, 110.0 ); //we dont need to give him uberskillz SetSkill( SkillName.Tactics, 110.0 ); SetSkill( SkillName.MagicResist, 100.0 ); Fame = 3900; Karma = -4000; VirtualArmor = 70; //this might need to be tweaked //Here we add his loot. I'm omitting his gloves since that's later in his dress. //no here do you NOT add the loot, onyl whats in hes backpack. Container pack = new Backpack(); pack.Movable = false; pack.DropItem( new Arrow( 50 ) ); AddItem( pack ); //Now we dress him Item shroud = new HoodedShroudOfShadows(); //since we want a custom shroud, we define it here. shroud.Movable = false; //this way we dont let the shroud drop shroud.Hue = 0x798; //omg more props AddItem( shroud ); //add the item Item smurfshoes = new Sandals(); //since sandals are already a class i've named it smurfshoes. It doesnt matter what we call it. smurfshoes.Movable = false; // leet shoes for the players? GM tailoring kthx. smurfshoes.Hue = 0x798; // more props AddItem( smurfshoes ); //add the item Bow weapon = new Bow(); //same thing. define the weapon. weapon.Skill = SkillName.Archery; //props weapon.Hue = 0x798; //we're leet weapon.Speed = 90; //set the speed to 5 higher than the cho ku no. weapon.DamageLevel = WeaponDamageLevel.Force; //bow of force weapon.Movable = false; // not for players AddItem( weapon ); //add the weapon Item gloves = new PlateGloves(); // here we add his gloves. this time we let them drop gloves.Hue = 0x798; //omg more props AddItem( gloves ); //add the item }
public FakeWindcaller() : base( AIType.AI_Mage ) { Name = NameList.RandomName( "male" ); Title = "the WindCaller"; Body = 0x190; Hue = Utility.RandomSkinHue(); SetStr( 300 ); SetDex( 300 ); SetInt( 600 ); SetHits( 800 ); SetDamage( 15, 20 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 20, 30 ); SetResistance( ResistanceType.Fire, 35, 45 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 10, 20 ); SetResistance( ResistanceType.Energy, 35, 45 ); SetSkill( SkillName.Anatomy, 120.0 ); SetSkill( SkillName.EvalInt, 120.0 ); SetSkill( SkillName.Magery, 120.0 ); SetSkill( SkillName.Meditation, 120.0 ); SetSkill( SkillName.MagicResist, 200.0 ); SetSkill( SkillName.Tactics, 120.0 ); SetSkill( SkillName.Wrestling, 120.0 ); Fame = 100; Karma = 100; VirtualArmor = 30; Sandals foot = new Sandals(); foot.Hue = 1154; foot.LootType = LootType.Blessed; AddItem( foot ); WizardsHat top = new WizardsHat(); top.Hue = 1154; top.LootType = LootType.Blessed; AddItem( top ); Skirt bottom = new Skirt(); bottom.Hue = 1154; bottom.LootType = LootType.Blessed; AddItem ( bottom ); }
public EvilWanderingHealer() : base(AIType.AI_Mage, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the wandering healer"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 71, 85 ); SetDex( 81, 95 ); SetInt( 86, 100 ); Karma = -127; SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 65, 87.5 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Healing, 55, 77.5 ); SetSkill( SkillName.Anatomy, 55, 77.5 ); SetSkill( SkillName.SpiritSpeak, 55, 77.5 ); SetSkill( SkillName.Forensics, 35, 57.5 ); SetSkill( SkillName.Camping, 35, 57.5 ); SetSkill( SkillName.Fishing, 35, 57.5 ); SetSkill( SkillName.Magery, 55, 75 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = Utility.RandomYellowHue(); AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Robe(); item.Hue = Utility.RandomYellowHue(); AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); } }
public Mother():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0) { Name = "Debbie"; Title = "Quest Giver"; Body = 401; Female = true; SpeechHue = 6; CantWalk = true; Hue = 46; Blessed = true; SetStr( 1025, 1250 ); SetDex( 120, 125 ); SetInt( 1800, 1935 ); SetHits( 5000, 5550 ); SetSkill( SkillName.MagicResist, 205.0, 220.0 ); SetSkill( SkillName.Focus, 216.0, 230.0); SetSkill( SkillName.Magery, 219.0, 225.0 ); SetSkill( SkillName.Meditation, 212.0, 215.0 ); VirtualArmor = 44; Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); Item PlainDress = new PlainDress();//Hue = 0xE6; PlainDress.Hue = 0xE6; PlainDress.Movable = false; AddItem( PlainDress ); Item Sandals = new Sandals(); Sandals.Hue = 0xE6; Sandals.Movable = false; AddItem( Sandals ); Item hair = new Item( 0x203D ); hair.Hue = 351; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item ring = new GoldRing(); ring.Name = "Wedding Ring"; ring.Movable = false; AddItem( ring ); }
public OclloRunner() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the runner"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 26, 40 ); SetDex( 31, 45 ); SetInt( 16, 30 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Sandals(); AddItem( item ); LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Shirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Sandals(); AddItem( item ); LootPack.Poor.Generate( this ); } }
public Dracula() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Title = "Lord of the Dead"; Name = ( "Dracula" ); Body = 400; Hue = 0; // Pale Hue SetStr( 900, 1200 ); SetDex( 150, 180 ); SetInt( 960, 1200 ); SetHits( 1200, 1600 ); SetDamage( 10, 12 ); SetResistance( ResistanceType.Physical, 0, 1 ); SetResistance( ResistanceType.Fire, 25 ); SetResistance( ResistanceType.Poison, 70 ); SetResistance( ResistanceType.Energy, 50 ); SetResistance( ResistanceType.Cold, 50 ); SetSkill( SkillName.EvalInt, 150.0, 175.0 ); SetSkill( SkillName.Tactics, 120.0, 145.0 ); SetSkill( SkillName.MagicResist, 120.0, 145.0 ); SetSkill( SkillName.Wrestling, 130.0, 155.0 ); SetSkill( SkillName.Meditation, 120.0, 155.0 ); SetSkill( SkillName.Focus, 120.0, 155.0 ); SetSkill( SkillName.Magery, 150.0, 175.0 ); Fame = -15000; Karma = -25000; VirtualArmor = 50; Sandals sandals = new Sandals(); sandals.Hue = 1; EquipItem( sandals ); DraculasShroud DraculasShroud = new DraculasShroud(); DraculasShroud.Hue = 1; EquipItem( DraculasShroud ); m_Timer = new TeleportTimer( this ); m_Timer.Start(); m_FieldActive = CanUseField; }
public override void InitOutfit() { FloppyHat head = new FloppyHat(); head.Hue = 1175; AddItem( head ); PlainDress chest = new PlainDress(); chest.Hue = 1175; AddItem( chest ); AddItem( new GoldNecklace() ); Spellbook lefthand = new Spellbook(); lefthand.Hue = 1217; AddItem( lefthand ); Sandals feet = new Sandals(); feet.Hue = 1175; AddItem( feet ); }
public OclloPriest() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 41, 55 ); SetDex( 51, 65 ); SetInt( 61, 75 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 35, 57.5 ); SetSkill( SkillName.MagicResist, 35, 57.5 ); SetSkill( SkillName.Parry, 35, 57.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); if ( !Female ) { Title = "the priest"; Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = 946; AddItem( item ); item = new Sandals(); AddItem( item ); PackGold( 15, 100 ); } else { Title = "the priestess"; Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Robe(); item.Hue = 946; AddItem( item ); item = new Sandals(); AddItem( item ); } }
public Monk() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the monk"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 21, 35 ); SetDex( 36, 50 ); SetInt( 41, 55 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 15, 37.5 ); SetSkill( SkillName.MagicResist, 15, 37.5 ); SetSkill( SkillName.Parry, 15, 37.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.EvalInt, 55, 77.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new Robe(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new Sandals(); AddItem( item ); LootPack.Poor.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Robe(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new Sandals(); AddItem( item ); LootPack.Poor.Generate( this ); } }
public Armond():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Name = "Armond"; Title = "The Dark One"; SetStr( 356, 396 ); SetDex( 105, 135 ); SetInt( 530, 653 ); SetSkill( SkillName.Wrestling, 91.3, 97.8 ); SetSkill( SkillName.Tactics, 91.5, 99.0 ); SetSkill( SkillName.MagicResist, 90.6, 96.8); SetSkill( SkillName.Magery, 91.7, 99.0 ); SetSkill( SkillName.EvalInt, 100.1, 100.1 ); SetSkill( SkillName.Meditation, 121.1, 128.1 ); VirtualArmor = 64; new Kirin().Rider = this; SetFameLevel( 8 ); SetKarmaLevel( -8 ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1; AddItem( gloves ); HoodedShroudOfShadows shroud = new HoodedShroudOfShadows(); shroud.Hue = 1157; AddItem( shroud ); Cloak cloak = new Cloak(); cloak.Hue = 1157; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 1; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 1; AddItem( sandals ); }
public Arriana() { Name = "Arriana Loveliss"; Title = "the Queens Maiden"; Body = 0x191; CantWalk = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 1172; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 1172; AddItem( s ); AddItem( new LongHair(2213)); }
public static Item GetRandomFeet() { Item feet = null; switch ( Utility.Random( 3 ) ) { case 0: feet = new Boots( Utility.RandomNeutralHue() ); break; case 1: feet = new Shoes( Utility.RandomNeutralHue() ); break; case 2: feet = new Sandals( Utility.RandomNeutralHue() ); break; } return feet; }
public EvilMageLord() : base(AIType.AI_Mage, FightMode.Closest, 12, 1, 0.5, 0.75) { Body = 0x0190; SpeechHue = Utility.RandomDyedHue(); Hue = Utility.RandomSkinHue(); SetStr( 100, 200 ); SetDex( 91, 115 ); SetInt( 150, 300 ); SetHits(240, 260); Name = NameList.RandomName( "evil mage lord" ); Fame = 10500; Karma = -10500; SetSkill( SkillName.Wrestling, 20.2, 60 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 95, 100 ); SetSkill( SkillName.Magery, 100, 120 ); VirtualArmor = 18; SetDamage( 3, 12 ); Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair( this, hairHue ); Utility.AssignRandomFacialHair( this, hairHue ); item = new Robe(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); item = new Sandals(); item.Hue = Utility.RandomBlueHue(); AddItem( item ); //BardImmune = true; BardLevel = 90; }
public Brianna() { Name = "Brianna"; Title = "the Youthful Summoner"; Body = 0x191; Direction = Direction.East; CantWalk = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 84; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 84; AddItem( s ); AddItem( new LongHair(52)); }
public Therasa() { Name = "Therasa"; Title = "Quest Giver"; Body = 0x191; CantWalk = true; Blessed = true; Hue = Utility.RandomSkinHue(); FancyDress fd = new FancyDress(); fd.Hue = 1172; AddItem( fd ); Sandals s = new Sandals(); s.Hue = 1172; AddItem( s ); AddItem( new LongHair(2213)); }
public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Name = "Khaldun Zealot"; SetStr( 356, 396 ); SetDex( 105, 135 ); SetInt( 530, 653 ); SetSkill( SkillName.Wrestling, 91.3, 97.8 ); SetSkill( SkillName.Tactics, 91.5, 99.0 ); SetSkill( SkillName.MagicResist, 90.6, 96.8); SetSkill( SkillName.Magery, 91.7, 99.0 ); SetSkill( SkillName.EvalInt, 100.1, 100.1 ); SetSkill( SkillName.Meditation, 121.1, 128.1 ); VirtualArmor = 36; SetFameLevel( 4 ); SetKarmaLevel( 4 ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 32; AddItem( gloves ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x3A8; helm.LootType = LootType.Blessed; AddItem( helm ); Cloak cloak = new Cloak(); cloak.Hue = 32; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 32; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 32; AddItem( sandals ); }
public DarkRedDonationBox() { Weight = 1.0; Hue = 1645; Item item = null; Name = "Defiance Dark Red Member Box"; PlaceItemIn(16, 60, (item = new SkillBall(25))); item.Hue = 5; PlaceItemIn(28, 60, (item = new SkillBall(25))); item.Hue = 5; PlaceItemIn(41, 58, (item = new SevenGMSkillBall())); item.Hue = 1161; PlaceItemIn(53, 58, (item = new StatsBall())); item.Hue = 1161; PlaceItemIn(16, 81, (item = new HoodedShroudOfShadows())); item.Hue = 1645; item.Name = "Dark Red Shroud of Shadows"; item.LootType = LootType.Blessed; BaseContainer cont; PlaceItemIn(58, 57, (cont = new Backpack())); cont.Hue = 1645; cont.Name = "a dark red backpack"; cont.PlaceItemIn(44, 65, new SulfurousAsh(10000)); cont.PlaceItemIn(77, 65, new Nightshade(10000)); cont.PlaceItemIn(110, 65, new SpidersSilk(10000)); cont.PlaceItemIn(143, 65, new Garlic(10000)); cont.PlaceItemIn(44, 128, new Ginseng(10000)); cont.PlaceItemIn(77, 128, new Bloodmoss(10000)); cont.PlaceItemIn(110, 128, new BlackPearl(10000)); cont.PlaceItemIn(143, 128, new MandrakeRoot(10000)); PlaceItemIn(90, 58, (item = new AncientCoat())); item.Hue = 1645; item.Name = "Dark Red Ancient Coat"; item.LootType = LootType.Blessed; PlaceItemIn(74, 64, (item = new WizardGlasses())); item.Hue = Utility.RandomList(1645); PlaceItemIn(103, 58, (item = new Sandals())); item.Hue = Utility.RandomList(1645); item.Name = "Polar Sandals"; item.LootType = LootType.Blessed; PlaceItemIn(122, 53, new SpecialDonateHairDye()); PlaceItemIn(133, 53, new SpecialDonateBeardDye()); PlaceItemIn(156, 55, (item = new EtherealLongManeHorse())); item.Hue = 1645; PlaceItemIn(34, 83, (item = new HolyDeedofBlessing())); item.Hue = 1645; PlaceItemIn(43, 83, (item = new CursedClothingBlessDeed())); item.Hue = 1645; PlaceItemIn(58, 83, (item = new SpecialHairRestylingDeed())); item.Hue = 1645; PlaceItemIn(73, 83, (item = new SmallBrickHouseDeed())); item.Hue = 1645; PlaceItemIn(88, 83, (item = new NameChangeDeed())); item.Hue = 1645; PlaceItemIn(103, 83, (item = new AntiBlessDeed())); item.Hue = 1645; PlaceItemIn(118, 83, (item = new BankCheck(100000))); item.Hue = 1645; PlaceItemIn(130, 83, (item = new MembershipTicket())); item.Hue = 1645; ((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(730); }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 12; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 15; from.Dex += 25; from.Int += 10; from.Skills.Fencing.Base = 50; from.Skills.Hiding.Base = 100; from.Skills.Poisoning.Base = 50; from.Skills.Snooping.Base = 50; from.Skills.Stealing.Base = 50; from.Skills.Stealth.Base = 10; RogueGarb tunic = new RogueGarb(); tunic.Hue = 0; tunic.Identified = true; from.AddToBackpack(tunic); Sandals boots = new Sandals(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new RogueSpellbook()); from.BankBox.DropItem(new RogueFalseCoinScroll()); from.BankBox.DropItem(new Nightshade(100)); from.BankBox.DropItem(new SulfurousAsh(100)); from.AddToBackpack(new RogueSkillGuide()); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); World.Broadcast(0x35, true, "Another has chosen thy path of the Rogue!"); from.CloseGump(typeof(RogueClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Rogue is not in your best interests."); from.CloseGump(typeof(RogueClassGump)); break; } } }
public TownChestCobbler() : base(0xE43) { Name = "a metal chest -5-"; Movable = true; Weight = 1000.0; Hue = 83; TrapPower = 0; Locked = true; RequiredSkill = 5; LockLevel = 5; MaxLockLevel = 10; // Gold if (Utility.RandomDouble() < 0.25) { DropItem(new Gold(Utility.Random(1, 25))); } // Supplies if (Utility.RandomDouble() < 0.15) { DropItem(new Boots()); } if (Utility.RandomDouble() < 0.20) { DropItem(new Shoes()); } if (Utility.RandomDouble() < 0.25) { DropItem(new Sandals()); } if (Utility.RandomDouble() < 0.10) { DropItem(new ThighBoots()); } if (Utility.RandomDouble() < 0.15) { BaseClothing footwear = Loot.RandomClothing(true); switch (Utility.Random(4)) { case 0: footwear = new Shoes(); break; case 1: footwear = new Boots(); break; case 2: footwear = new ThighBoots(); break; default: footwear = new Sandals(); break; } BaseRunicTool.ApplyAttributesTo(footwear, 1, 5, 15); DropItem(footwear); } }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 8; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 15; from.Dex += 15; from.Int += 20; from.Skills.Discordance.Base = 50; from.Skills.Musicianship.Base = 100; from.Skills.Peacemaking.Base = 50; from.Skills.Provocation.Base = 50; FancyTunic tunic = new FancyTunic(); tunic.Hue = 0; tunic.Identified = true; from.AddToBackpack(tunic); Sandals boots = new Sandals(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new BardSkillGuide()); from.BankBox.DropItem(new BardSpellbook()); from.BankBox.DropItem(new BardEnergyCarolScroll()); from.BankBox.DropItem(new BardFireCarolScroll()); from.BankBox.DropItem(new BardIceCarolScroll()); from.BankBox.DropItem(new BardPoisonCarolScroll()); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); from.BankBox.DropItem(new Lute()); World.Broadcast(0x35, true, "Another has chosen thy path of the Bard!"); from.CloseGump(typeof(BardClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Bard is not in your best interests."); from.CloseGump(typeof(BardClassGump)); break; } } }
public bool ReceivePrize(Mobile from, int seed) { Item i = null; string text = ""; if (seed <= 5) { text = "You win a brown bear rug!"; i = new BrownBearRugSouthDeed(); } else if (seed < 10) { text = "You win a brown bear rug!"; i = new BrownBearRugEastDeed(); } else if (seed < 25) { text = "You win pet dye!"; i = new PetDye(); i.Hue = Utility.RandomList(2419, 2418, 2413, 2406, 2215, 2425, 2219, 2207); } else if (seed < 30) { text = "You win a Monster Statuette!"; i = new MonsterStatuette(MonsterStatuetteType.Dragon); } else if (seed < 35) { text = "You win a rare artifact!"; i = new FullJars3(); } else if (seed < 40) { text = "You win a rare artifact!"; i = new TarotCardsArtifact(); } else if (seed < 45) { text = "You win a rare artifact!"; i = new PottedTree(); } else if (seed < 55) { text = "You win a pouch with many pockets!"; i = new PouchWithManyPockets(); } else if (seed < 65) { } else if (seed < 70) { text = "You win Town Sandals!"; i = new Sandals() { Hue = Utility.RandomList(TownCloth.Hues) }; } else if (seed < 75) { text = "You win a rare artifact!"; i = new LongFlask(); } else if (seed < 80) { text = "You win a rare artifact!"; i = new FullJars2(); } else if (seed < 85) { text = "You win a rare title dye!"; i = TitleDye.RandomRareTitleDye(); } else if (seed < 95) { text = "You win an uncommon title dye!"; i = TitleDye.RandomUncommonTitleDye(); } else if (seed < 100) { text = "You win another Dragon Ticket!"; i = new DragonLotteryTicket(); } else if (seed < 105) { text = "You win some rare cloth!"; i = new RareCloth(); } else { text = "Sorry! Try another ticket."; } if (text.Length > 0) { from.PublicOverheadMessage(Network.MessageType.Regular, 0, false, text); } if (i != null) { if (!from.AddToBackpack(i)) { i.Delete(); from.SendMessage("You don't have enough room in your backpack. Please make room and try again."); return(false); } } return(true); }
public bool ReceivePrize(Mobile from, int seed) { Item i = null; string text = ""; /* Rewards * Sandals ~ Hued [2651, 2662] :::: 0.5% * Spellbook ~ Hued [2651, 2662] :::: 0.5% * UncutCloth ~ Hued [2651, 2662] :::: 1% * Stuffed Easter Bunny Statue Hued [1150] :::: 1.5% * Dragon Coin ~ Amount [10-25] :::: 3% * Magic Weapon (Might + random others) 5% * RabbitBomb ~ 5% * Random Skill Manual ~ 5% * Another Easter Egg 10% * * Explosion ~ (5-15 damage) :::: 25.5% * Gold ~ Amount [50-199] :::: 43% * */ if (seed <= 25) { text = "You receive Easter Sandals!"; i = new Sandals(); i.Hue = Utility.RandomList(2651, 2662); i.Name = "Easter Sandals"; } else if (seed <= 75) { text = "You receive an Easter Spellbook!"; i = new Spellbook(); i.Hue = Utility.RandomList(2651, 2662); i.Name = "Easter Spellbook"; } else if (seed <= 125) { text = "You receive some Easter Cloth!"; i = new UncutCloth(); i.Hue = Utility.RandomList(2651, 2662); i.Amount = 8; } else if (seed <= 225) { text = "You receive a stuffed Easter Bunny!"; i = new StuffedEasterBunny(); } else if (seed <= 600) { text = "You receive some Dragon Coins!"; i = new DragonCoin(); i.Amount = Utility.Random(25, 50); } else if (seed <= 850) { } else if (seed <= 3150) { text = "You receive more easter eggs!"; i = new EasterEgg(); } else if (seed <= 5750) { Point3D loc = this.GetWorldLocation(); Map facet = this.Map; text = "You receive remorse!"; if (from.CanBeDamaged()) { Effects.SendLocationEffect(loc, facet, 0x36BD, 15, 10); Effects.PlaySound(from.Location, from.Map, 0x246); from.PublicOverheadMessage(MessageType.Regular, 0, false, "*Looks remorseful*"); AOS.Damage(from, Utility.Random(10, 20), 0, 100, 0, 0, 0); Blood blood = new Blood(); blood.MoveToWorld(from.Location, from.Map); } } else if (seed <= 6000) { text = "You receive a large amount of gold."; i = new Gold(); i.Amount = Utility.RandomMinMax(750, 1250); from.SendSound(0x2e6); } else if (seed <= 6500) { text = "You receive a moderate amount of gold."; i = new Gold(); i.Amount = Utility.RandomMinMax(400, 600); from.SendSound(0x2e5); } else { text = "You receive a small amount of gold."; i = new Gold(); i.Amount = Utility.RandomMinMax(200, 300); from.SendSound(0x2e4); } if (text.Length > 0) { from.SendMessage(text); } if (i != null) { if (!from.AddToBackpack(i)) { i.Delete(); from.SendMessage("You don't have enough room in your backpack. Please make room and try again."); return(false); } } return(true); }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 10; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 15; from.Dex += 10; from.Int += 25; from.Skills.AnimalLore.Base = 25; from.Skills.AnimalTaming.Base = 50; from.Skills.Healing.Base = 50; from.Skills.Herding.Base = 50; from.Skills.Veterinary.Base = 25; FancyTunic tunic = new FancyTunic(); tunic.Hue = 0; tunic.Identified = true; from.AddToBackpack(tunic); Sandals boots = new Sandals(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new DruidSpellbook()); from.BankBox.DropItem(new DruidLureStoneScroll()); from.BankBox.DropItem(new DruidNaturesPassageScroll()); from.BankBox.DropItem(new DruidShieldOfEarthScroll()); from.AddToBackpack(new VeterinarySkillGuide()); from.BankBox.DropItem(new TamersHandbookEcology()); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); ShepherdsCrook weapon = new ShepherdsCrook(); weapon.Hue = 0; weapon.Identified = true; from.AddToBackpack(weapon); World.Broadcast(0x35, true, "Another has chosen thy path of the Druid!"); from.CloseGump(typeof(DruidClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Druid is not in your best interests."); from.CloseGump(typeof(DruidClassGump)); break; } } }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 2; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 15; from.Dex += 10; from.Int += 25; from.Skills.Alchemy.Base = 25; from.Skills.EvalInt.Base = 25; from.Skills.Inscribe.Base = 25; from.Skills.Magery.Base = 50; from.Skills.Meditation.Base = 50; from.Skills.Wrestling.Base = 10; from.AddToBackpack(new MageSkillGuide()); FancyTunic tunic = new FancyTunic(); tunic.Hue = 0; tunic.Identified = true; from.AddToBackpack(tunic); Sandals boots = new Sandals(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new FullSpellbook()); from.BankBox.DropItem(new BagOfReagents(300)); from.BankBox.DropItem(new MagesPouch()); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); World.Broadcast(0x35, true, "Another has chosen thy path of the Mage!"); from.CloseGump(typeof(MageClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Mage is not in your best interests."); from.CloseGump(typeof(MageClassGump)); break; } } }