public ActiveSkill(SkillBasicInformation information, IEnumerable <PassiveSkill> passiveSkills, double defaultCooldown)
        {
            Information            = information;
            AuxiliaryPassiveSkills = passiveSkills;
            BaseDamage             = baseDamage;
            initialCooldown        = defaultCooldown;

            ResetStageParameters();

            Information.LearnEnabled = true;
            Accuracy = 0.0;
            Information.CriticalRatio       = 0.5;
            Information.CriticalProbability = 0.9;
        }
Exemple #2
0
 public PassiveSkill(SkillBasicInformation information, IEnumerable <PassiveSkill> auxiliaryPassiveSkills)
 {
     Information            = information;
     AuxiliaryPassiveSkills = auxiliaryPassiveSkills;
 }