Exemplo n.º 1
0
        public void YrelDivinePurposeActiveTest()
        {
            Ability ability = HeroYrel.GetFirstAbility("YrelDivinePurposeActive");

            Assert.IsTrue(ability.IsPassive);
            Assert.AreEqual("storm_ui_icon_yrel_divine_purpose_active.dds", ability.IconFileName);
            Assert.AreEqual("Cooldown: 8 seconds", ability.Tooltip?.Cooldown?.CooldownTooltip?.RawDescription);
            Assert.AreEqual("Divine Purpose", ability.Name);
        }
Exemplo n.º 2
0
        public void YrelDivinePurposeActiveTest()
        {
            Ability ability = HeroYrel.GetAbility(new AbilityTalentId("YrelDivinePurposeActive", "YrelDivinePurposeActive")
            {
                AbilityType = AbilityTypes.Trait,
                IsPassive   = true,
            });

            Assert.IsTrue(ability.AbilityTalentId.IsPassive);
            Assert.AreEqual("storm_ui_icon_yrel_divine_purpose_active.dds", ability.IconFileName);
            Assert.AreEqual("Cooldown: 8 seconds", ability.Tooltip?.Cooldown?.CooldownTooltip?.RawDescription);
            Assert.AreEqual("Divine Purpose", ability.Name);
        }