Function clear_skill_modifier

Source
pub fn clear_skill_modifier(pid: u16, skill_id: u16)
Expand description

Clear the modifier value of a player’s skill.

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.
skill_id The skill ID.

Returns void