Beispiel #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt();

            m_type = (DrakeType)reader.ReadInt();
        }
Beispiel #2
0
        public PlatinumDrake(DrakeType type)
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_type = type;

            switch (type)
            {
            case DrakeType.Physical:
                this.Body = 0x589;
                this.Hue  = 0;
                this.SetDamageType(ResistanceType.Physical, 100);
                break;

            case DrakeType.Fire:
                this.Body = 0x58A;
                this.Hue  = 33929;
                this.SetDamageType(ResistanceType.Physical, 0);
                this.SetDamageType(ResistanceType.Fire, 100);
                break;

            case DrakeType.Cold:
                this.Body = 0x58A;
                this.Hue  = 34134;
                this.SetDamageType(ResistanceType.Physical, 0);
                this.SetDamageType(ResistanceType.Cold, 100);
                break;

            case DrakeType.Poison:
                this.Body = 0x58A;
                this.Hue  = 34136;
                this.SetDamageType(ResistanceType.Physical, 0);
                this.SetDamageType(ResistanceType.Poison, 100);
                break;
            }

            this.Name        = "Platinum Drake";
            this.Female      = true;
            this.BaseSoundID = 362;

            this.SetStr(400, 430);
            this.SetDex(133, 152);
            this.SetInt(101, 140);

            this.SetHits(241, 258);

            this.SetDamage(11, 17);

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

            this.SetSkill(SkillName.MagicResist, 65.1, 80.0);
            this.SetSkill(SkillName.Tactics, 65.1, 90.0);
            this.SetSkill(SkillName.Wrestling, 65.1, 80.0);
            this.SetSkill(SkillName.DetectHidden, 50.0, 60.0);
            this.SetSkill(SkillName.Focus, 5.0, 20.0);

            this.Fame  = 5500;
            this.Karma = -5500;

            this.VirtualArmor = 46;

            this.Tamable      = true;
            this.ControlSlots = 2;
            this.MinTameSkill = 85.0;

            this.PackReg(3);
        }
Beispiel #3
0
        public CrimsonDrake(DrakeType type)
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            m_Type = type;

            switch (type)
            {
            case DrakeType.Physical:
                Body = 0x58B;
                Hue  = 0;
                SetDamageType(ResistanceType.Physical, 100);
                break;

            case DrakeType.Fire:
                Body = 0x58C;
                Hue  = 33929;
                SetDamageType(ResistanceType.Physical, 0);
                SetDamageType(ResistanceType.Fire, 100);
                break;

            case DrakeType.Cold:
                Body = 0x58C;
                Hue  = 34134;
                SetDamageType(ResistanceType.Physical, 0);
                SetDamageType(ResistanceType.Cold, 100);
                break;

            case DrakeType.Poison:
                Body = 0x58C;
                Hue  = 34136;
                SetDamageType(ResistanceType.Physical, 0);
                SetDamageType(ResistanceType.Poison, 100);
                break;

            case DrakeType.Energy:
                Body = 0x58C;
                Hue  = 34141;
                SetDamageType(ResistanceType.Physical, 0);
                SetDamageType(ResistanceType.Energy, 100);
                break;
            }

            Name        = "Crimson Drake";
            Female      = true;
            BaseSoundID = 362;

            SetStr(400, 430);
            SetDex(133, 152);
            SetInt(101, 140);

            SetHits(241, 258);

            SetDamage(11, 17);

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

            SetSkill(SkillName.MagicResist, 65.1, 80.0);
            SetSkill(SkillName.Tactics, 65.1, 90.0);
            SetSkill(SkillName.Wrestling, 65.1, 80.0);
            SetSkill(SkillName.DetectHidden, 50.0, 60.0);
            SetSkill(SkillName.Focus, 5.0, 10.0);

            Fame  = 5500;
            Karma = -5500;

            VirtualArmor = 46;

            Tamable      = true;
            ControlSlots = 2;
            MinTameSkill = 85.0;

            PackReg(3);
        }