Regeneration: Difference between revisions

523 bytes removed ,  18:54, 20 February 2020
added one disadvantage
(Added an advancement table and and advantages & disadvantages section)
(added one disadvantage)
Line 12: Line 12:
}}
}}


{{Name}} is a physical mutation which improves the player’s natural regeneration rate and allows the player to regrow lost limbs, given enough time.
{{Name}} is a physical mutation which improves the player’s natural [[HP]] regeneration rate and allows the player to regrow lost limbs, given enough time. This regeneration rate is in addition to the creature's normal HP regeneration rate, which is <math>\frac{20 + 2 \times ( \text{Willpower Modifier} + \text{Toughness Modifier})}{100}</math>.


Note that only one limb can be regrown at a time. Additionally, if an entire arm is lost, then the arm and hand will be regrown separately.
Note that only one limb can be regrown at a time. Additionally, if an entire arm is lost, then the arm and hand will be regrown separately.
{{Missing info|Does the improvement to natural HP regeneration add to the player’s base Regen rate, or does it replace the base Regen rate?}}
{{Missing info|In what order are missing limbs regrown?}}


==Regenerating Limbs==
==Regenerating Limbs==
{{missing info|My brain's too brain dead for this. Figure out what this means later}}
The amount of time before a limb is regrown is determined by the following formula:
<syntaxhighlight lang=c#>
...
public int nNextLimb = 5000;
...
if (E.ID == "Regenerating")
      {
        ++this.nRegrowCount;
        if (this.nRegrowCount >= this.nNextLimb)
        {
          this.nRegrowCount = 0;
          this.nNextLimb = 5000 - 400 * this.Level + Stat.Roll("1d" + ((11 - Math.Min(this.Level, 10)) * 1000).ToString());
          this.ParentObject.FireEvent(Event.New("RegenerateLimb", 0, 0, 0));
        }
        E.AddParameter("Amount", E.GetIntParameter("Amount") + (20 + this.Level * 4));
        return true;
      }
</syntaxhighlight>
 
For the non-code-literate, the amount of time before a limb is regrown is determined by the following formula:


5000 - (400 * Level) + 1d((11 - Level) * 1000)
5000 - (400 * Level) + 1d((11 - Level) * 1000


== Advancement Table ==
== Advancement Table ==
Line 112: Line 89:
* The bonus to passive [[HP]] regeneration is too low to make a significant difference in most fights.
* The bonus to passive [[HP]] regeneration is too low to make a significant difference in most fights.
* Limbs are dismembered ''very'' infrequently in {{Gamename}}, and the “normal” methods of regenerating limbs are common ''enough'' to regrow any lost limbs.
* Limbs are dismembered ''very'' infrequently in {{Gamename}}, and the “normal” methods of regenerating limbs are common ''enough'' to regrow any lost limbs.
* {{favilink|hyperbiotic bed|plural}} are easily found in {{favilink|Grit Gate}}, so a source of limb regeneration is always available if the player has a recoiler.


{{Mutation Navbox}}
{{Mutation Navbox}}