Function get_skill_id

Source
pub fn get_skill_id(name: &str) -> i16
Expand description

Get the numerical ID of a skill with a certain name.

If an invalid name is used, the ID returned is -1

name The name of the skill.

Returns the ID of the skill.