Skip to content

Commit 8f200be

Browse files
committed
feat: add chance command for character actions to manage action probabilities
1 parent 15ba7a4 commit 8f200be

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

content/docs/characters/manage/actions.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Create and manage character actions.
44
---
55

66
You can manage character actions using the `/character action` command.
7-
`/character action [add|cooldown|list|permission|remove] ...`
7+
`/character action [add|chance|cooldown|list|permission|remove] ...`
88

99
## Adding an Action [#add]
1010

@@ -61,6 +61,16 @@ This action will be triggered on any click and sends `Hello, NonSwag!` if the pl
6161

6262
---
6363

64+
## Chance
65+
66+
Set or view the chance for your character's actions.
67+
The chance determines the probability of an action being triggered when a character is clicked.
68+
69+
Usage: `/character action chance <character> <action> [<chance>]`
70+
71+
- `[<chance>]`: A number between `0` and `100` representing the probability in percent.
72+
A chance of 100% means the action will always be triggered. Omit to view the current chance.
73+
6474
## Cooldowns
6575

6676
Set or view the cooldown for your characters actions.

0 commit comments

Comments
 (0)