luck

Privateunrated

Content

36 lines
{break({lower:{1}}==help):`!luck <modifier>` is used for the "Universal Tyche Dice Scale" as specified on the Tyche power doc. The command rolls 3d6 and adds a modifier if any is specified, then compares the result to the table. Tyche kids should do `!luck 2`

*NOTE: The maximum modifier is ±20*

```
Universal Tyche Dice Scale
-=-=-=-=-=-=-
Non-Tyche Campers (3d6)

3-5: Cursed (4.63%)
6-8: Bad Luck (21.29%)
9-12: Normal luck (48.14%)
13-15:Good luck  (21.29%)
16-18: Blessed (4.63%)
-=-=-=-=-=-=-
Tyche Campers (3d6+2)

5: Cursed (.46%)
6-8: Bad Luck (8.8%)
9-12: Normal Luck (40.73%)
13-15: Good Luck (33.79%)
16-21: Blessed (16.2%)
-=-=-=-=-=-=-
```}

{=(r1):{range:1-6}}
{=(r2):{range:1-6}}
{=(r3):{range:1-6}}

{=(mod):{all({1}>-21|{1}<21):{1}|0}}

{=(roll):{math:trunc({r1}+{r2}+{r3}+{mod})}}

{=(res):{if({roll}>=16):Blessed!}{all({roll}>=13|{roll}<16):Good Luck!}{all({roll}>=9|{roll}<13):Normal Luck!}{all({roll}>=6|{roll}<9):Bad Luck!}{if({roll}<=5):Cursed!}}

{user(mention)} rolled {roll} [{r1}, {r2}, {r3}]: {res}
Raw JSON
{
  "id": 603063,
  "created_at": "2021-02-12T21:19:45.000Z",
  "tag_name": "luck",
  "nsfw": false,
  "owner_id": "548314323630424065",
  "uses": 25,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "780310143949733908",
  "sharer": "548314323630424065",
  "content": "{break({lower:{1}}==help):`!luck <modifier>` is used for the \"Universal Tyche Dice Scale\" as specified on the Tyche power doc. The command rolls 3d6 and adds a modifier if any is specified, then compares the result to the table. Tyche kids should do `!luck 2`\n\n*NOTE: The maximum modifier is ±20*\n\n```\nUniversal Tyche Dice Scale\n-=-=-=-=-=-=-\nNon-Tyche Campers (3d6)\n\n3-5: Cursed (4.63%)\n6-8: Bad Luck (21.29%)\n9-12: Normal luck (48.14%)\n13-15:Good luck  (21.29%)\n16-18: Blessed (4.63%)\n-=-=-=-=-=-=-\nTyche Campers (3d6+2)\n\n5: Cursed (.46%)\n6-8: Bad Luck (8.8%)\n9-12: Normal Luck (40.73%)\n13-15: Good Luck (33.79%)\n16-21: Blessed (16.2%)\n-=-=-=-=-=-=-\n```}\n\n{=(r1):{range:1-6}}\n{=(r2):{range:1-6}}\n{=(r3):{range:1-6}}\n\n{=(mod):{all({1}>-21|{1}<21):{1}|0}}\n\n{=(roll):{math:trunc({r1}+{r2}+{r3}+{mod})}}\n\n{=(res):{if({roll}>=16):Blessed!}{all({roll}>=13|{roll}<16):Good Luck!}{all({roll}>=9|{roll}<13):Normal Luck!}{all({roll}>=6|{roll}<9):Bad Luck!}{if({roll}<=5):Cursed!}}\n\n{user(mention)} rolled {roll} [{r1}, {r2}, {r3}]: {res}",
  "embed": "{}",
  "last_fetched": "2026-10-21T00:15:51.953Z"
}