Example #1
0
    //값을 초기화하기 위한 함수
    public void Init_Skill(float rate, float coolT, float ingT, int amount, SkillCode skill_Code)
    {
        _Skill_Rate = rate;

        _Skill_Cool_Time = coolT;
        _Skill_ING_Time  = ingT;

        _Skill_Use_Amount = amount;

        _Skill_Code_M = skill_Code._Skill_Code_M;
        _Skill_Code_S = skill_Code._Skill_Code_S;
        _Skill_Code_T = skill_Code._Skill_Code_T;

        //20190215
        //쿨타임과 같은 값에서 1초씩 값을 줄인다.
        time = coolT;
    }
Example #2
0
    public void Initialize_Skill(string name, float rate, float coolT, float ingT, int amount, SkillCode skill_Code, string skillID, List <int> _isItLocked)
    {
        _Skill_Name = name;

        _Skill_Rate = rate;

        _Skill_Cool_Time = coolT;
        _Skill_ING_Time  = ingT;

        _Skill_Use_Amount = amount;

        _Skill_Code_M = skill_Code._Skill_Code_M;
        _Skill_Code_S = skill_Code._Skill_Code_S;
        _Skill_Code_T = skill_Code._Skill_Code_T;

        _Skill_ID = skillID;

        isItLocked = _isItLocked;
    }