public CaveTroll(ShameWall_1 wall) : base(AIType.AI_Animal, FightMode.Closest, 10, 1, 0.2, 0.4) { mWall = wall; Title = "the Wall Guardian"; Name = "a cave troll"; Body = Utility.RandomList( 53, 54 ); BaseSoundID = 461; Hue = 2116; SetStr( 180, 205 ); SetDex( 122, 142 ); SetInt( 47, 64 ); SetHits( 722, 887 ); SetDamage( 15, 17 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 55, 65 ); SetResistance( ResistanceType.Fire, 45, 55 ); SetResistance( ResistanceType.Cold, 45, 55 ); SetResistance( ResistanceType.Poison, 35, 45 ); SetResistance( ResistanceType.Energy, 35, 45 ); SetSkill( SkillName.MagicResist, 71.7, 82.9 ); SetSkill( SkillName.Tactics, 87.9, 101.6 ); SetSkill( SkillName.Wrestling, 81.5, 104.5 ); SetSkill( SkillName.Anatomy, 0.0 ); Fame = 3500; Karma = -3500; VirtualArmor = 40; // sets home location as the wall location // this way the troll won't wander too far // default rangehome is 10 this.Home = mWall.Location; }
public SummonTroll( ShameWall_1 wall ) : base(TimeSpan.Zero) { m_wall = wall; }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); mWall = ( ShameWall_1 )reader.ReadItem( ); }
public SummonTroll(ShameWall_1 wall) : base(TimeSpan.Zero) { m_wall = wall; }