# Critical Success and Failure system

**URL:** <https://narrat.discourse.group/t/critical-success-and-failure-system/210>\
**Category:** Help\
**Created:** [15 May 2024 01:51 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210 "2024-05-15T01:51:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mitchell\_Radspinner](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/mitchell_radspinner/32/307_2.png) [@Mitchell\_Radspinner](https://narrat.discourse.group/u/Mitchell_Radspinner)\
**Post date:** [15 May 2024 01:51 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/1 "2024-05-15T01:51:07Z")

</div>

I was wondering if anyone knew of a way to implement an auto success and auto fail system for specific number rolls on the dice. For instance, if you have a 2 D10 system and when rolling double 10’s bypassing a skill check or when rolling double 1’s automatically failing. The easiest example I can think of is how Disco Elysium functions.

---

<div class="post-metadata">

**Author:** ![PinkPenguin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/pinkpenguin/32/302_2.png) [@PinkPenguin](https://narrat.discourse.group/u/PinkPenguin)\
**Post date:** [15 May 2024 02:33 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/2 "2024-05-15T02:33:39Z")

</div>

I just checked the code in the framework and I don’t see anything for that. Perhaps I’m missing something, but otherwise I’d recommend submitting an enhancement request.

---

<div class="post-metadata">

**Author:** ![Narrat-Admin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/narrat-admin/32/429_2.png) [@Narrat-Admin](https://narrat.discourse.group/u/Narrat-Admin)\
**Post date:** [15 May 2024 11:31 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/3 "2024-05-15T11:31:15Z")

</div>

Yeah there isn’t anything to do that, it would have to be added to the engine. or you can fake it in some other way.

It could be done by modifying the [checkIfRollSucceeded](https://github.com/liana-p/narrat-engine/blob/main/packages/narrat/src/utils/skillchecks.ts#L209) function and adding new options to the [skillchecks config](https://github.com/liana-p/narrat-engine/blob/main/packages/narrat/src/config/skillchecks-config.ts#L22) to let people enable and configure a “always fail on those values” or “always succeed on those values”.

Ideally something like this should also have feedback to the player, but that would be a bit more complicated to add

---

<div class="post-metadata">

**Author:** ![PinkPenguin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/pinkpenguin/32/302_2.png) [@PinkPenguin](https://narrat.discourse.group/u/PinkPenguin)\
**Post date:** [15 May 2024 13:20 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/4 "2024-05-15T13:20:14Z")

</div>

I’m guessing we could add a tooltip with roll details on the succeed/failure tag like you have for keywords. In there we could easily add a “Critical Success!” “Critical Failure!” messages. I know you already have that enhancement in the backlog for something close to this. If I have time I can build that out.

---

<div class="post-metadata">

**Author:** ![Narrat-Admin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/narrat-admin/32/429_2.png) [@Narrat-Admin](https://narrat.discourse.group/u/Narrat-Admin)\
**Post date:** [15 May 2024 15:24 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/5 "2024-05-15T15:24:53Z")

</div>

It should probably get printed out as a little widget in the text and not just as a hover popup ideally

---

<div class="post-metadata">

**Author:** ![PinkPenguin](https://yyz2.discourse-cdn.com/free1/user_avatar/narrat.discourse.group/pinkpenguin/32/302_2.png) [@PinkPenguin](https://narrat.discourse.group/u/PinkPenguin)\
**Post date:** [15 May 2024 15:59 UTC](https://narrat.discourse.group/t/critical-success-and-failure-system/210/6 "2024-05-15T15:59:58Z")

</div>

Yeah that’d make sense. Instead of just writing “Success” it’d be “Critical Success”?
