Ejemplo n.º 1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            mWall = ( ShameWall_3 )reader.ReadItem( );
        }
Ejemplo n.º 2
0
        public CaveTroll3(ShameWall_3 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;
        }