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

            _Readiness           = reader.ReadInt();
            NextReadinessAtrophy = reader.ReadDateTime();

            Steeds.Add(this);
        }
Exemplo n.º 2
0
        public VvVMount(string name, int id, int itemid, int hue)
            : base(name, id, itemid, AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.4, .2)
        {
            Hue = hue;

            if (id == 0xDA)
            {
                BaseSoundID = 0x275;
            }
            else
            {
                BaseSoundID = 0xA8;
            }

            InitStats(Utility.Random(300, 100), 125, 60);

            SetStr(400);
            SetDex(125);
            SetInt(51, 55);

            SetHits(240);
            SetMana(0);

            SetDamage(5, 8);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 40, 50);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 30, 40);
            SetResistance(ResistanceType.Energy, 30, 40);

            SetSkill(SkillName.MagicResist, 25.1, 30.0);
            SetSkill(SkillName.Tactics, 29.3, 44.0);
            SetSkill(SkillName.Wrestling, 29.3, 44.0);

            Fame  = 300;
            Karma = 300;

            Tamable      = true;
            ControlSlots = 1;
            MinTameSkill = 29.1;

            _Readiness           = 8;
            NextReadinessAtrophy = DateTime.UtcNow + TimeSpan.FromHours(24);

            Steeds.Add(this);
        }