[][src]Function tes3mp_plugin::plugin::generated::clear_attribute_modifier

pub fn clear_attribute_modifier(pid: u16, attribute_id: u16)

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