Skip to content

Commit

Permalink
[MOM] Wakeful Rest Removes Sleep Deprivation and Fatigue (#70433)
Browse files Browse the repository at this point in the history
* Wakeful rest removes sleep deprivation and fatigue

* Sleep deprivation goes to 0

* Random typo
  • Loading branch information
b3brodie authored Dec 26, 2023
1 parent feb9c20 commit f94a31e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/mods/MindOverMatter/powers/vitakinesis_eoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
{
"type": "effect_on_condition",
"id": "EOC_VITAKIN_SLEEP",
"condition": { "or": [ { "math": [ "u_val('fatigue')", ">=", "0" ] } ] },
"condition": { "or": [ { "math": [ "u_val('fatigue') + u_val('sleep_deprivation')", ">=", "0" ] } ] },
"effect": [ { "u_assign_activity": "ACT_VITAKIN_WAKEFUL_REST_MEDITATE", "duration": "510 minutes" } ],
"false_effect": [ { "u_message": "You're feeling refreshed and have no need to meditate.", "type": "mixed" } ]
},
Expand All @@ -146,7 +146,7 @@
{
"type": "effect_on_condition",
"id": "EOC_VITAKIN_WAKEFUL_REST_MEDITATE",
"condition": { "math": [ "u_val('fatigue')", ">=", "0" ] },
"condition": { "math": [ "u_val('fatigue') + u_val('sleep_deprivation')", ">=", "0" ] },
"effect": [ { "run_eocs": [ "EOC_VITAKIN_SLEEP_FATIGUE", "EOC_VITAKIN_SLEEP_DEPRIVATION" ] } ],
"false_effect": [
{
Expand Down Expand Up @@ -176,7 +176,7 @@
{
"type": "effect_on_condition",
"id": "EOC_VITAKIN_SLEEP_DEPRIVATION",
"condition": { "math": [ "u_val('sleep_deprivation')", ">=", "5" ] },
"condition": { "math": [ "u_val('sleep_deprivation')", ">=", "0" ] },
"effect": { "math": [ "u_val('sleep_deprivation')", "-=", "1" ] }
},
{
Expand Down

0 comments on commit f94a31e

Please sign in to comment.