Ejemplo n.º 1
0
    public void UpgradeSinTreeSkill()
    {
        Debug.Log("upgrading " + SinTree.allSkills[activeSkillID].skillName);
        activeSinTreeSkill = SinTree.current.UpgradeSinTreeSkill(activeSkillID);


        UpdateSinTree();
    }
Ejemplo n.º 2
0
    public SinTree()
    {
        activeSkills = new List <SinTreeSkill>();
        allSkills    = new List <SinTreeSkill>();
        sinSkill0    = new SinTreeSkill();

        #region SKILL O
        sinSkill0.skillName        = "Aspect of Astaroth";
        sinSkill0.skillDescription = "Resurrect enemy killed by melee attack as your minion.";
        sinSkill0.skillLevelEffect = new List <string>();
        sinSkill0.skillLevelEffect.Add("up to 1 minion alive at a time");
        sinSkill0.skillLevelEffect.Add("up to 2 minions alive at a time");
        sinSkill0.skillLevelEffect.Add("up to 3 minions alive at a time");

        sinSkill0.skillID        = 0;
        sinSkill0.skillLV        = 0;
        sinSkill0.skillMaxLV     = 3;
        sinSkill0.skillCost      = 1;
        sinSkill0.requiredSkills = null;
        allSkills.Add(sinSkill0);
        #endregion
    }
Ejemplo n.º 3
0
 public void DisplaySinTreeSkill(int skillID)
 {
     activeSkillID      = skillID;
     activeSinTreeSkill = SinTree.current.GetSkillInfo(skillID);
 }