Function clear_attribute_modifier

Source
pub fn clear_attribute_modifier(pid: u16, attribute_id: u16)
Expand description

Clear the modifier value of a player’s attribute.

There’s no way to set a modifier to a specific value because it can come from
multiple different sources, but clearing it is a straightforward process that
dispels associated effects on a client and, if necessary, unequips associated
items.

pid The player ID.
attribute_id The attribute ID.

Returns void