示例#1
0
        public void SubAbilityTests()
        {
            List <Ability> elements = VolskayaDataVolskayaVehicleGunner.SubAbilities(AbilityTiers.Basic).ToList();

            Assert.AreEqual("VolskayaVehicleActivateParticleCannon", elements[0].AbilityTalentId.ReferenceId);
            Assert.AreEqual("VolskayaVehicleTacticalStrikesDeactivate", elements[1].AbilityTalentId.ReferenceId);
        }
示例#2
0
        public void AbilityTraitTest()
        {
            Ability ability = VolskayaDataVolskayaVehicleGunner.GetAbility(new AbilityTalentId("LeaveVehicle", "VolskayaVehicleLeaveVehicle")
            {
                AbilityType = AbilityTypes.Trait,
            });

            Assert.AreEqual("storm_ui_icon_volskayarobot_leavevehicle.dds", ability.IconFileName);
        }
示例#3
0
        public void AbilitiesTests()
        {
            Assert.IsTrue(VolskayaDataVolskayaVehicleGunner.TryGetAbility(
                              new AbilityTalentId("VolskayaVehicleInitiateParticleCannon", "VolskayaVehicleInitiateParticleCannon")
            {
                AbilityType = AbilityTypes.Q,
            },
                              out Ability ability));

            Assert.AreEqual(AbilityTypes.Q, ability.AbilityTalentId.AbilityType);
        }
示例#4
0
        public void AbilityTraitTest()
        {
            Ability ability = VolskayaDataVolskayaVehicleGunner.GetFirstAbility("LeaveVehicle");

            Assert.AreEqual("storm_ui_icon_volskayarobot_leavevehicle.dds", ability.IconFileName);
        }
示例#5
0
        public void AbilitiesTests()
        {
            Assert.IsTrue(VolskayaDataVolskayaVehicleGunner.TryGetFirstAbility("VolskayaVehicleInitiateParticleCannon", out Ability ability));

            Assert.AreEqual(AbilityType.Q, ability.AbilityType);
        }