コード例 #1
0
        public void AbilityTalentLinkIdsTests()
        {
            Talent talent = HeroThrall.GetTalent("ThrallMasteryManaTide");

            Assert.IsTrue(talent.AbilityTalentLinkIdsCount == 2);
            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("ThrallFrostwolfResilience"));
            Assert.AreEqual(AbilityType.Trait, talent.AbilityType);

            talent = HeroThrall.GetTalent("ThrallMasteryFrostwolfsGrace");
            Assert.IsTrue(talent.AbilityTalentLinkIdsCount == 2);
            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("ThrallFrostwolfResilience"));
            Assert.AreEqual(AbilityType.Trait, talent.AbilityType);
        }
コード例 #2
0
        public void ThrallMasteryGraceOfAirTalentAbilityTypeTest()
        {
            Talent talent = HeroThrall.GetTalent("ThrallMasteryGraceOfAir");

            Assert.AreEqual(AbilityType.E, talent.AbilityType);
        }