Skip to content

Commit

Permalink
Merge pull request CleverRaven#76630 from Standing-Storm/fix-werewolf…
Browse files Browse the repository at this point in the history
…-heals

[Xedra Evolved] Werewolves only regenerate when they need to
  • Loading branch information
Maleclypse authored Sep 24, 2024
2 parents 27992ec + 2d105d3 commit c4bbf99
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions data/mods/Xedra_Evolved/mutations/shapeshifters.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,17 @@
"values": [ { "value": "DEXTERITY", "add": 2 }, { "value": "STRENGTH", "add": 2 }, { "value": "SPEED", "multiply": 0.05 } ]
},
{
"condition": {
"or": [
{ "math": [ "u_pain()", ">", "0" ] },
{ "math": [ "u_hp('arm_l')", "<", "u_hp_max('arm_l')" ] },
{ "math": [ "u_hp('arm_r')", "<", "u_hp_max('arm_r')" ] },
{ "math": [ "u_hp('leg_l')", "<", "u_hp_max('leg_l')" ] },
{ "math": [ "u_hp('leg_r')", "<", "u_hp_max('leg_r')" ] },
{ "math": [ "u_hp('torso')", "<", "u_hp_max('torso')" ] },
{ "math": [ "u_hp('head')", "<", "u_hp_max('head')" ] }
]
},
"intermittent_activation": {
"effects": [
{
Expand Down

0 comments on commit c4bbf99

Please sign in to comment.