예제 #1
0
 List <Skill> ICodexPoolSettingsGenerator.GenerateCodex(List <Skill> pool)
 {
     if (__Rating1.Value + __Rating2.Value + __Rating3.Value + __Rating4.Value + __Rating5.Value == 0)
     {
         MessageBox.Show("You've selected to have 0 skills in the codex! Generation aborted.", "Warning: Empty Codex", MessageBoxButtons.OK, MessageBoxIcon.Information);
         return(new List <Skill>());
     }
     return(CodexGenerator.ByRating(pool, (int)__Rating1.Value, (int)__Rating2.Value, (int)__Rating3.Value, (int)__Rating4.Value, (int)__Rating5.Value, false));
 }
예제 #2
0
 List <Skill> ICodexPoolSettingsGenerator.GenerateCodex(List <Skill> pool)
 {
     return(CodexGenerator.PureRandom(pool, (int)__Count.Value));
 }
예제 #3
0
 List <Skill> ICodexPoolSettingsGenerator.GenerateCodex(List <Skill> pool)
 {
     return(CodexGenerator.AttributeBalanced(pool, (int)__Regular.Value, (int)__Elites.Value, (int)__PvEOnly.Value));
 }
 List <Skill> ICodexPoolSettingsGenerator.GenerateCodex(List <Skill> pool)
 {
     return(CodexGenerator.AttributeRegularProfessionElite(pool, (int)__RegularSkillsPerAttribute.Value, (int)__EliteSkillsPerProfession.Value, (int)__PvEOnlySkills.Value));
 }
 List <Skill> ICodexPoolSettingsGenerator.GenerateCodex(List <Skill> pool)
 {
     return(CodexGenerator.ProfessionBalanced(pool, (int)__Regular.Value, (int)__Elites.Value, (int)__Common.Value));
 }