Function get_class_major_attribute

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

Get the ID of one of the two major attributes of a custom class used by a player.

pid The player ID.
slot The slot of the major attribute (0 or 1).

Returns the ID of the major attribute.