Skip to main content

starting_skills

Function starting_skills 

Source
pub fn starting_skills(
    tables: &StartposTables,
    index: &CampaignIndex,
    skill_set: &str,
    faction: &FactionEntry,
) -> Result<Vec<StartingSkill>>
Expand description

Returns the skills a character starts with: the nodes of its skill set with points on creation, by tier.

§Arguments

  • tables - Tables with character_skill_nodes.
  • index - The campaign’s startpos rows.
  • skill_set - The character’s skill set.
  • faction - The character’s faction.

§Errors

Returns an error if a table or column is missing.