The CharSetSkill command sets the rank of a skill of the targeted players' characters:
/charsetskill <player> <skill> <rank>, with the skill typed as its ID.
Summary
Methods
get_description()shared
Returns the translated command description with every registered skill ID listed.
Sets the rank of a skill for every target, then notifies the targets and staff.
Methods
Returns the translated command description with every registered skill ID listed.
Returns
- String
CMD:on_run(actor, targets, skill_id, value)
shared plugins/stats/plugin/commands/sh_charsetskill.lua:23Sets the rank of a skill for every target, then notifies the targets and staff.
Parameters
- actor Player the player who ran the command
- targets List<Player> players matched by the first command argument
- skill_id String ID of the skill to set, in any case
- value String new rank, parsed with tonumber