Skip to content

Commit

Permalink
[Xedra Evolved] Full vampires' healing speed is increased with blood …
Browse files Browse the repository at this point in the history
…but bandages do nothing (#74921)

* Initial commit

* Change values

* Fix >=
  • Loading branch information
Standing-Storm authored Jul 7, 2024
1 parent 8d22462 commit aee440b
Showing 1 changed file with 43 additions and 2 deletions.
45 changes: 43 additions & 2 deletions data/mods/Xedra_Evolved/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,54 @@
"starting_trait": false,
"purifiable": false,
"valid": false,
"flags": [ "CANNIBAL", "SUNBURN", "DAYFEAR", "HEMOVORE" ],
"flags": [ "CANNIBAL", "SUNBURN", "DAYFEAR", "HEMOVORE", "MEND_ALL" ],
"anger_relations": [ [ "VAMPIRE", -95 ], [ "RENFIELD", -95 ] ],
"enchantments": [
{ "values": [ { "value": "STAMINA_REGEN_MOD", "add": 0.1 }, { "value": "METABOLISM", "multiply": 0.5 } ] },
{
"values": [
{ "value": "STAMINA_REGEN_MOD", "add": 0.1 },
{ "value": "METABOLISM", "multiply": 0.5 },
{ "value": "DISINFECTANT_BONUS", "multiply": -1 },
{ "value": "BANDAGE_BONUS", "multiply": -1 }
]
},
{
"condition": { "math": [ "u_vitamin('human_blood_vitamin')", "<=", "0" ] },
"values": [ { "value": "MENDING_MODIFIER", "multiply": -1 }, { "value": "REGEN_HP", "multiply": -1 } ]
},
{
"condition": {
"and": [
{ "math": [ "u_vitamin('human_blood_vitamin')", ">", "0" ] },
{ "math": [ "u_vitamin('human_blood_vitamin')", "<", "1800" ] }
]
},
"values": [
{ "value": "REGEN_HP", "multiply": { "math": [ "5 + (u_vitamin('human_blood_vitamin') / 300)" ] } },
{ "value": "REGEN_HP_AWAKE", "multiply": 1 },
{ "value": "MENDING_MODIFIER", "multiply": 2 }
]
},
{
"condition": {
"and": [
{ "math": [ "u_vitamin('human_blood_vitamin')", ">=", "1800" ] },
{ "math": [ "u_vitamin('human_blood_vitamin')", "<", "4400" ] }
]
},
"values": [
{ "value": "REGEN_HP", "multiply": { "math": [ "11 + ((u_vitamin('human_blood_vitamin') - 1800 ) / 325)" ] } },
{ "value": "REGEN_HP_AWAKE", "multiply": 1 },
{ "value": "MENDING_MODIFIER", "multiply": 6 }
]
},
{
"condition": { "math": [ "u_vitamin('human_blood_vitamin')", ">=", "4400" ] },
"values": [
{ "value": "REGEN_HP", "multiply": { "math": [ "19 + ((u_vitamin('human_blood_vitamin') - 4400 ) / 600)" ] } },
{ "value": "REGEN_HP_AWAKE", "multiply": 1 },
{ "value": "MENDING_MODIFIER", "multiply": 12 }
]
}
]
},
Expand Down

0 comments on commit aee440b

Please sign in to comment.