Beispiel #1
0
 public int GetTalentCDTime(int _talentID)
 {
     for (int i = 0; i < 10; i++)
     {
         PassiveSkill passiveSkill = this.TalentObjArray[i];
         if (passiveSkill != null && passiveSkill.SkillID == _talentID)
         {
             return(passiveSkill.GetCDTime());
         }
     }
     return(0);
 }
Beispiel #2
0
 public int GetTalentCDTime(int _talentID)
 {
     for (int i = 0; i < 6; i++)
     {
         PassiveSkill skill = this.TalentObjArray[i];
         if ((skill != null) && (skill.SkillID == _talentID))
         {
             return(skill.GetCDTime());
         }
     }
     return(0);
 }