示例#1
0
        public void AbilityTests()
        {
            Ability ability = HeroVarian.GetAbility(new AbilityTalentId("VarianHeroicStrike", "VarianHeroicStrike")
            {
                AbilityType = AbilityTypes.Trait,
            });

            Assert.IsFalse(ability.IsActive);
        }
示例#2
0
        public void AbilityShortTooltipTest()
        {
            Ability ability = HeroVarian.GetAbility(new AbilityTalentId("VarianColossusSmash", "VarianColossusSmash")
            {
                AbilityType = AbilityTypes.Heroic,
            });

            Assert.AreEqual("Gain Damage, Lose Health<n/>Smash enemies and lower their Armor", ability.Tooltip.ShortTooltip !.RawDescription);
        }