Function get_class_major_skill

Source
pub fn get_class_major_skill(pid: u16, slot: u8) -> i16
Expand description

Get the ID of one of the five major skills of a custom class used by a player.

pid The player ID.
slot The slot of the major skill (0 to 4).

Returns the ID of the major skill.