示例#1
0
    private bool GaugeSkillEqual(GaugeSkillType skillType)
    {
        if (skillType == GaugeSkillType.Guard && playerScript.myCharacterInfo.currentGuardGaugePoints < playerScript.myCharacterInfo.maxGuardGaugePoints)
        {
            return(false);
        }
        if (skillType == GaugeSkillType.Skill1 && playerScript.myCharacterInfo.currentGaugePoints < (playerScript.myCharacterInfo.maxGaugePoints / 2))
        {
            return(false);
        }
        if (skillType == GaugeSkillType.Skill2 && playerScript.myCharacterInfo.currentGaugePoints < playerScript.myCharacterInfo.maxGaugePoints)
        {
            return(false);
        }

        return(true);
    }
示例#2
0
 public virtual void DecreaseSkillGaugeBar(int Player, GaugeSkillType skill)
 {
 }