Skip to content

Commit

Permalink
No the free death ruach
Browse files Browse the repository at this point in the history
  • Loading branch information
Standing-Storm authored Dec 18, 2024
1 parent 5cf82d0 commit 2f722d0
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"id": "effect_si_lilin_no_ruach_upgrades",
"type": "effect_type",
"name": [ "Fragile Spirit" ],
"desc": [ "Your ruach is too fragile to spend it frivilously." ]
}
]
21 changes: 21 additions & 0 deletions data/mods/Sky_Island/mod_interactions/xedra_evolved/eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,26 @@
{ "if": { "u_has_trait": "HOMULLUS" }, "then": { "math": [ "u_vitamin('mutagen_dollkin')", "+=", "550 " ] } },
{ "if": { "u_has_trait": "ARVORE" }, "then": { "math": [ "u_vitamin('mutagen_plantkin')", "+=", "550 " ] } }
]
},
{
"type": "effect_on_condition",
"id": "EOC_LILIN_SPEND_RUACH_FOR_POWERS",
"condition": { "math": [ "u_vitamin('lilin_ruach_vitamin') >= 240" ] },
"effect": [
{
"if": { "not": { "u_has_effect": "effect_si_lilin_no_ruach_upgrades" } },
"then": [
{ "math": [ "u_vitamin('lilin_ruach_vitamin')", "-=", "240" ] },
{ "math": [ "u_lilin_amount_of_ruach_spent_for_powers_increaser", "+=", "0.75" ] },
{
"math": [ "u_lilin_amount_of_ruach_spent_for_powers", "+=", "u_lilin_amount_of_ruach_spent_for_powers_increaser" ]
}
],
"else": [
{ "u_message": "Your spirit is still fragile after your brush with death. You have no ruach to spare.", "type": "bad" }
]
}
],
"false_effect": [ { "u_message": "You don't have enough ruach to dedicate any to increasing your powers!", "type": "bad" } ]
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"effect": [
{
"if": { "and": [ { "u_has_trait": "LILIN_TRAITS" }, { "math": [ "u_vitamin('lilin_ruach_vitamin') == 0" ] } ] },
"then": { "math": [ "u_vitamin('lilin_ruach_vitamin')", "=", "720" ] }
"then": [
{ "math": [ "u_vitamin('lilin_ruach_vitamin')", "=", "720" ] },
{ "u_add_effect": "effect_si_lilin_no_ruach_upgrades", "duration": 259200 }
]
},
{
"if": { "and": [ { "u_has_trait": "VAMPIRE" }, { "math": [ "u_vitamin('human_blood_vitamin') <= -4800" ] } ] },
Expand Down

0 comments on commit 2f722d0

Please sign in to comment.