Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public void AbilityTalentLinkIdTest()
        {
            Talent talent = HeroDryad.GetTalent("DryadHippityHop");

            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("DryadDryadsSwiftness"));
            Assert.AreEqual(AbilityType.Z, talent.AbilityType);
        }
Exemplo n.º 3
0
        public void AbilityTalentLinkIdsTests()
        {
            Talent talent = HeroTracer.GetTalent("TracerJumper");

            Assert.IsTrue(talent.AbilityTalentLinkIdsCount == 1);
            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("TracerBlink"));
        }
Exemplo n.º 4
0
        public void AbilityTalentLinkIdsTests()
        {
            Talent talent = HeroMephisto.GetTalent("MephistoShadeOfMephistoGhastlyArmor");

            Assert.IsTrue(talent.AbilityTalentLinkIdsCount == 1);
            Assert.IsTrue(talent.ContainsAbilityTalentLinkId("MephistoShadeOfMephisto"));

            talent = HeroMephisto.GetTalent("MephistoShadeOfMephistoShadeLord");
            Assert.IsTrue(talent.AbilityTalentLinkIdsCount == 1);
        }