コード例 #1
0
        public void AbilityTalentLinkIdTest()
        {
            Talent talent = HeroDryad.GetTalent("DryadHippityHop");

            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("DryadDryadsSwiftness"));
            Assert.AreEqual(AbilityType.Z, talent.AbilityType);
        }
コード例 #2
0
        public void TalentCooldownTest()
        {
            Talent talent = HeroDryad.GetTalent("DryadGallopingGait");

            Assert.AreEqual("Cooldown: 30 seconds", talent.Tooltip.Cooldown?.CooldownTooltip?.RawDescription);
        }