Function get_attribute_modifier

Source
pub fn get_attribute_modifier(pid: u16, attribute_id: u16) -> i16
Expand description

Get the modifier value of a player’s attribute.

pid The player ID.
attribute_id The attribute ID.

Returns the modifier value of the attribute.