Skip to content

Commit

Permalink
[Xedra Evolved] Give Vampires nighttime overmap sight (#74982)
Browse files Browse the repository at this point in the history
* Initial commit

* Add to VAMPIRE3 too

* Further scaling

* Spacing

* Continous what?
  • Loading branch information
Standing-Storm authored Jul 12, 2024
1 parent c6913e0 commit 32484db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions data/mods/Xedra_Evolved/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,15 @@
}
}
]
},
{
"condition": { "not": "is_day" },
"values": [
{
"value": "OVERMAP_SIGHT",
"add": { "math": [ "4 + u_has_trait('VAMPIRE2') + u_has_trait('VAMPIRE3') + (u_has_trait('VAMPIRE4') * 2)" ] }
}
]
}
]
},
Expand Down
5 changes: 4 additions & 1 deletion data/mods/Xedra_Evolved/mutations/mutations.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,10 @@
"vitamins_absorb_multi": [ [ "all", [ [ "human_blood_vitamin", 1.25 ] ] ] ],
"vitamin_rates": [ [ "human_blood_vitamin", 180 ] ],
"flags": [ "CANNIBAL", "ALBINO", "DAYFEAR", "HEMOVORE" ],
"enchantments": [ { "values": [ { "value": "STAMINA_REGEN_MOD", "add": 0.1 }, { "value": "METABOLISM", "multiply": 0.8 } ] } ]
"enchantments": [
{ "condition": { "not": "is_day" }, "values": [ { "value": "OVERMAP_SIGHT", "add": 1 } ] },
{ "values": [ { "value": "STAMINA_REGEN_MOD", "add": 0.1 }, { "value": "METABOLISM", "multiply": 0.8 } ] }
]
},
{
"type": "mutation",
Expand Down

0 comments on commit 32484db

Please sign in to comment.