public Revenant( Mobile caster, Mobile target, TimeSpan duration ) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.18, 0.36) { Name = "a revenant"; Body = 400; Hue = 1; // TODO: Sound values? double scalar = caster.Skills[SkillName.SpiritSpeak].Value * 0.01; m_Target = target; m_ExpireTime = DateTime.Now + duration; SetStr( 200 ); SetDex( 150 ); SetInt( 150 ); SetDamage( 16, 17 ); // Bestiary says 50 phys 50 cold, animal lore says differently SetDamageType( ResistanceType.Physical, 100 ); SetSkill( SkillName.MagicResist, 100.0 * scalar ); // magic resist is absolute value of spiritspeak SetSkill( SkillName.Tactics, 100.0 ); // always 100 SetSkill( SkillName.Swords, 100.0 * scalar ); // not displayed in animal lore but tests clearly show this is influenced SetSkill( SkillName.DetectHidden, 75.0 * scalar ); scalar /= 1.2; SetResistance( ResistanceType.Physical, 40 + (int)(20 * scalar), 50 + (int)(20 * scalar) ); SetResistance( ResistanceType.Cold, 40 + (int)(20 * scalar), 50 + (int)(20 * scalar) ); SetResistance( ResistanceType.Fire, (int)(20 * scalar) ); SetResistance( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Energy, 40 + (int)(20 * scalar), 50 + (int)(20 * scalar) ); Fame = 0; Karma = 0; ControlSlots = 3; VirtualArmor = 32; BardImmune = true; Item shroud = new DeathShroud(); shroud.Hue = 0x455; shroud.Movable = false; AddItem( shroud ); Halberd weapon = new Halberd(); weapon.Hue = 1; weapon.Movable = false; AddItem( weapon ); }
public override void InitOutfit() { DeathShroud deathShroud = new DeathShroud(); deathShroud.Hue = 1109; AddItem( deathShroud ); AddItem( new ThighBoots() ); }
public override void InitOutfit() { AddItem( new ThighBoots( 0x1 ) ); DeathShroud ds = new DeathShroud(); ds.AccessLevel = AccessLevel.Player; ds.Hue = 0x1; AddItem( ds ); }
public Revenant(Mobile caster, Mobile target, TimeSpan duration) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.18, 0.36) { Body = 400; Hue = 1; // TODO: Sound values? double scalar = caster.Skills[SkillName.SpiritSpeak].Value * 0.01; m_Target = target; m_ExpireTime = DateTime.UtcNow + duration; SetStr(200); SetDex(150); SetInt(150); SetDamage(16, 17); // Bestiary says 50 phys 50 cold, animal lore says differently Alignment = Alignment.Undead; SetSkill(SkillName.MagicResist, 100.0 * scalar); // magic resist is absolute value of spiritspeak SetSkill(SkillName.Tactics, 100.0); // always 100 SetSkill(SkillName.Swords, 100.0 * scalar); // not displayed in animal lore but tests clearly show this is influenced SetSkill(SkillName.DetectHidden, 75.0 * scalar); scalar /= 1.2; Fame = 0; Karma = 0; ControlSlots = 3; VirtualArmor = 32; Item shroud = new DeathShroud(); shroud.Hue = 0x455; shroud.Movable = false; AddItem(shroud); var weapon = new Halberd {Hue = 1, Movable = false}; AddItem(weapon); }
public Protector() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Hue = Race.Human.RandomSkinHue(); Body = 401; Female = true; Name = "a protector"; Title = "the mystic llamaherder"; SetStr( 700, 800 ); SetDex( 100, 150 ); SetInt( 50, 75 ); SetHits( 350, 450 ); SetDamage( 6, 12 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 30, 40 ); SetResistance( ResistanceType.Fire, 20, 30 ); SetResistance( ResistanceType.Cold, 35, 40 ); SetResistance( ResistanceType.Poison, 30, 40 ); SetResistance( ResistanceType.Energy, 30, 40 ); SetSkill( SkillName.Wrestling, 70.0, 100.0 ); SetSkill( SkillName.Tactics, 80.0, 100.0 ); SetSkill( SkillName.MagicResist, 50.0, 70.0 ); SetSkill( SkillName.Anatomy, 70.0, 100.0 ); Fame = 10000; Karma = -10000; // outfit AddItem( new ThighBoots() ); Item item = new DeathShroud(); item.Hue = Utility.Random( 2 ); AddItem( item ); if ( Utility.RandomBool() ) PackItem( new RawLambLeg() ); else PackItem( new RawChickenLeg() ); }
public Protector() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Hue = Race.Human.RandomSkinHue(); Body = 401; Female = true; Name = "a protector"; Title = "the mystic llamaherder"; SetStr( 101, 117 ); SetDex( 98, 118 ); SetInt( 55, 69 ); SetHits( 374, 438 ); SetStam( 98, 118 ); SetMana( 55, 69 ); SetDamage( 6, 12 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 30, 33 ); SetResistance( ResistanceType.Fire, 21, 29 ); SetResistance( ResistanceType.Cold, 35, 40 ); SetResistance( ResistanceType.Poison, 30, 40 ); SetResistance( ResistanceType.Energy, 30, 40 ); SetSkill( SkillName.Wrestling, 70.7, 93.2 ); SetSkill( SkillName.Tactics, 82.0, 94.3 ); SetSkill( SkillName.MagicResist, 50.3, 64.6 ); SetSkill( SkillName.Anatomy, 74.8, 94.3 ); // outfit AddItem( new ThighBoots() ); Item item = new DeathShroud(); item.Hue = Utility.Random( 2 ); AddItem( item ); if ( Utility.RandomBool() ) PackItem( new RawLambLeg() ); else PackItem( new RawChickenLeg() ); }
public Dealer() : base("the dealer") { Item DeathShroud=new Items.DeathShroud(); Item Shoes=new Items.Shoes(); DeathShroud.Hue=1146; Shoes.Hue=1146; ArrayList m_items = new ArrayList( Items ); for (int i=0; i < m_items.Count; i++) { Item item = (Item)m_items[i]; if (( item != Backpack ) && ( item != BankBox )) item.Delete(); } AddItem(DeathShroud); AddItem(Shoes); }
public EnslavedEntrappedSoul( Mobile caster, Mobile target, TimeSpan duration ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.18, 0.36 ) { Name = "Enslaved Soul"; Body = 400; m_Target = target; m_ExpireTime = DateTime.Now + duration; SetStr( 125 ); SetDex( 125 ); SetInt( 125 ); SetHits( 300, 400 ); SetDamage( 7, 10 ); SetDamageType( ResistanceType.Physical, 100 ); SetSkill( SkillName.MagicResist, 150.0 ); SetSkill( SkillName.Tactics, 150.0 ); SetSkill( SkillName.Fencing, 150.0 ); SetSkill( SkillName.DetectHidden, 150.0 ); SetSkill( SkillName.Wrestling, 150.0 ); SetResistance( ResistanceType.Physical, 50, 90 ); SetResistance( ResistanceType.Cold, 50, 90 ); SetResistance( ResistanceType.Fire, 50, 90 ); SetResistance( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Energy, 40, 60 ); Fame = 0; Karma = 0; VirtualArmor = 60; Item shroud = new DeathShroud(); shroud.Movable = false; AddItem( shroud ); Dagger weapon = new Dagger(); weapon.Movable = false; AddItem( weapon ); }
public NewGuard(Mobile target) : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.05, 0.2 ) { if ( Female = Utility.RandomBool() ) { Body = 0x191; Name = NameList.RandomName( "female" ); } else { Body = 0x190; Name = NameList.RandomName( "male" ); } Title = "the guard"; m_Target = target; TimeSpan duration = TimeSpan.FromMinutes(5); m_ExpireTime = DateTime.Now + duration; SetStr( 200 ); SetDex( 150 ); SetInt( 150 ); SetDamage( 10, 17 ); // Bestiary says 50 phys 50 cold, animal lore says differently SetDamageType( ResistanceType.Physical, 65 ); SetSkill( SkillName.MagicResist, 100.0 ); // magic resist is absolute value of spiritspeak SetSkill( SkillName.Tactics, 120.0 ); // always 100 SetSkill( SkillName.Swords, 120.0); // not displayed in animal lore but tests clearly show this is influenced SetSkill( SkillName.DetectHidden, 100); SetResistance( ResistanceType.Physical, 25, 45 ); SetResistance( ResistanceType.Cold, 25, 45 ); SetResistance( ResistanceType.Fire, 25, 45 ); SetResistance( ResistanceType.Poison, 100 ); SetResistance( ResistanceType.Energy, 25, 45 ); Fame = 0; Karma = 0; VirtualArmor = 32; Item shroud = new DeathShroud(); shroud.Hue = 0x455; shroud.Movable = false; AddItem( shroud ); Halberd weapon = new Halberd(); weapon.Hue = 1; weapon.Movable = false; weapon.Attributes.SpellChanneling = 1; AddItem( weapon ); }