public IceSerpent() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a giant ice serpent"; Body = 89; BaseSoundID = 219; SetStr( 216, 245 ); SetDex( 26, 50 ); SetInt( 66, 85 ); SetHits( 130, 147 ); SetMana( 0 ); SetDamage( 7, 17 ); SetDamageType( ResistanceType.Physical, 10 ); SetDamageType( ResistanceType.Cold, 90 ); SetResistance( ResistanceType.Physical, 30, 35 ); SetResistance( ResistanceType.Cold, 80, 90 ); SetResistance( ResistanceType.Poison, 15, 25 ); SetResistance( ResistanceType.Energy, 10, 20 ); SetSkill( SkillName.Anatomy, 27.5, 50.0 ); SetSkill( SkillName.MagicResist, 25.1, 40.0 ); SetSkill( SkillName.Tactics, 75.1, 80.0 ); SetSkill( SkillName.Wrestling, 60.1, 80.0 ); Fame = 3500; Karma = -3500; VirtualArmor = 32; PackItem( Loot.RandomArmorOrShieldOrWeapon() ); // TODO: body parts, glacial staff //Generates a random nymber from 1 to 100. double gschance = Utility.RandomDouble(); //If the random generated number is higher then 70, or exacly 70, a staff will drop. //Meaning: there's a 30% chance that one will drop. if ( gschance <= 0.4 ) { Item GlacialStaff = new GlacialStaff(); AddItem(GlacialStaff); } }
public override void InitOutfit() { this.AddItem(new Robe(0x4DD)); this.AddItem(new WizardsHat(0x482)); this.AddItem(new Shoes(0x482)); this.HairItemID = 0x203C; this.HairHue = 0x455; this.FacialHairItemID = 0x203E; this.FacialHairHue = 0x455; GlacialStaff staff = new GlacialStaff(); staff.Movable = false; this.AddItem(staff); Backpack pack = new Backpack(); pack.Movable = false; this.AddItem(pack); }
public override void InitOutfit() { AddItem(new Robe(0x4DD)); AddItem(new WizardsHat(0x482)); AddItem(new Shoes(0x482)); HairItemID = 0x203C; HairHue = 0x455; FacialHairItemID = 0x203E; FacialHairHue = 0x455; var staff = new GlacialStaff(); staff.Movable = false; AddItem(staff); var pack = new Backpack(); pack.Movable = false; AddItem(pack); }
public SpellTarget(GlacialStaff staff) : base(12, false, TargetFlags.Harmful) { m_Staff = staff; }
public IceBallSpell( Mobile from, GlacialStaff staff ) : base( from, staff, m_Info ) { }
public FreezeSpell( Mobile from, GlacialStaff staff ) : base( from, staff, m_Info ) { }
public GlacialStaffSpell( Mobile from, GlacialStaff staff, SpellInfo info ) : base( from, null, info ) { Staff = staff; }
public SpellTarget( GlacialStaff staff ) : base(12, false, TargetFlags.Harmful) { m_Staff = staff; }
public DragonKnightMage() : base( AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4 ) { Title = "a DragonKnight Mage"; Name = NameList.RandomName( "male" ); Body = 0x191; Hue = 33805; Female = false; SetStr( 1025, 1425 ); SetDex( 81, 148 ); SetInt( 475, 675 ); Fame = 1000; Karma = 1000; SetHits( 1000, 2000 ); SetDamage( 24, 33 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 60, 85 ); SetResistance(ResistanceType.Fire, 65, 90); SetResistance(ResistanceType.Cold, 40, 55); SetResistance( ResistanceType.Poison, 40, 60 ); SetResistance( ResistanceType.Energy, 50, 75 ); SetSkill( SkillName.Archery, 100, 140 ); SetSkill( SkillName.Tactics, 100, 140 ); SetSkill( SkillName.MagicResist, 100, 140 ); SetSkill( SkillName.Tactics, 100, 140 ); SetSkill( SkillName.Wrestling, 100, 140 ); SetSkill( SkillName.Swords, 100, 140 ); SetSkill( SkillName.Magery, 100, 140 ); SetSkill( SkillName.Focus, 100, 140 ); SetSkill( SkillName.EvalInt, 100, 140 ); VirtualArmor = 80; GlacialStaff glacialstaff = new GlacialStaff(); glacialstaff.Movable = false; AddItem(glacialstaff); HumilityCloak cloak = new HumilityCloak(); cloak.Movable = false; AddItem(cloak); SpiritualityHelm spiritualityhelm = new SpiritualityHelm(); spiritualityhelm.Movable = false; AddItem(spiritualityhelm); HonestyGorget honestygorget = new HonestyGorget(); honestygorget.Movable = false; AddItem(honestygorget); JusticeBreastplate justicebreastplate = new JusticeBreastplate(); justicebreastplate.Movable = false; AddItem(justicebreastplate); BodySash bodysash = new BodySash(); bodysash.Movable = false; bodysash.Name = "Royal DragonKnight"; AddItem(bodysash); CompassionArms compassionarms = new CompassionArms(); compassionarms.Movable = false; AddItem(compassionarms); ValorGauntlets valorgauntlets = new ValorGauntlets(); valorgauntlets.Movable = false; AddItem(valorgauntlets); HonorLegs honorlegs = new HonorLegs(); honorlegs.Movable = false; AddItem(honorlegs); SacrificeSollerets sacrificesollerets = new SacrificeSollerets(); sacrificesollerets.Movable = false; AddItem(sacrificesollerets); DraculasShroud draculasshroud = new DraculasShroud(); draculasshroud.Movable = false; AddItem(draculasshroud); // PlateChest chest = new PlateChest(); // chest.Movable = false; // chest.Hue = 137; // AddItem(chest); VampiriacSteed vampiriacsteed = new VampiriacSteed(); vampiriacsteed.Hue = 2219; //horse.Hits = 200; //horse.Karma = 500; vampiriacsteed.Rider = this; //new VampiriacSteed().Rider = this; glacialstaff.Hue = 1152; cloak.Hue = 253; spiritualityhelm.Hue = 2406; honestygorget.Hue = 2406; justicebreastplate.Hue = 2406; bodysash.Hue = 253; compassionarms.Hue = 2406; valorgauntlets.Hue = 2406; honorlegs.Hue = 2406; sacrificesollerets.Hue = 2406; draculasshroud.Hue = 2406; }