Regeneration: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Added an advancement table and and advantages & disadvantages section)
No edit summary
 
(34 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Mutation
{{Mutation
| title = {{PAGENAME}}
| title = {{PAGENAME}}
| image = none
| image = {{mutation page image}}
| type = Physical
| type = Physical
| cost = 5
| cost = 4
| id = Regeneration
| id = Regeneration
| code = bt
| startingmutation = yes
| gameversion = 2.0.206.63
| desc = Your wounds heal very quickly.
| desc = Your wounds heal very quickly.


Increased natural healing rate\nSevered limbs regrow over time
Your full natural healing rate applies in combat.\n+&C(level based)%&y faster natural healing rate\n&C(level based)%&y chance to regrow a missing limb each round\n&C(level based)&y% chance to remove a &Cminor physical debuff&y at random each round
| realitydistort =no
| realitydistort =no
}}
}}
'''{{Name}}''' is a physical mutation which improves the player’s natural {{heart}}[[HP]] regeneration rate and allows the player to regrow lost limbs. This regeneration rate is applied in addition to the creature's normal [[HP#Losing and Gaining Hitpoints|HP regeneration rate.]]


{{Name}} is a physical mutation which improves the player’s natural regeneration rate and allows the player to regrow lost limbs, given enough time.
Regeneration provides the ability to regrow missing body parts, with a level-based chance of occurring each turn. If the limb regeneration chance equals or exceeds 100%, the creature will be guaranteed to regrow a limb within one turn and, additionally, will be immune to decapitation. Note that only one limb can be regrown at a time, and parent limbs must be regrown before child limbs can be regrown (such as an arm needing to be regrown before a hand can then regrow).  


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.
Regeneration and other regeneration causing items also have the ability to remove removable minor physical debuffs that affect metabolic, respiratory, circulatory, structural, or neurological functioning, with a level-based chance to do so each turn. This includes [[bleeding]] and [[itchy skin]]; however, Regeneration cannot cure [[fungal infections]] that have already developed at any level because it is no longer considered an effect.


{{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?}}
At mutation level 5, this ability extends to major physical debuffs, including diseases (such as [[glotrot]], [[ironshank]], and [[monochrome]]) and their onset conditions ([[sore throat]], [[stiff legs]], and [[blurry vision]]).


{{Missing info|In what order are missing limbs regrown?}}
==Formulas ==
The following formulas are used to determine healing rate, bonus, change to regenerate limbs, and chance to remove debuffs (rounded down) based on mutation level.{{Code Reference|namespace=XRL.World.Parts.Mutation|class=Regeneration}}
{|class="wikitable"
! Healing Rate Bonus
| {{simple formula| 0.1 + 0.1 * Level }}
|-
! Limb Regen Chance
| {{simple formula| Level * 10 }}
|-
! Remove Debuff Chance
| {{simple formula| 1 + Level / 3 }}
|}
== Advancement Table ==


==Regenerating Limbs==
<div style="display:flex;flex-wrap:wrap;">
{{missing info|My brain's too brain dead for this. Figure out what this means later}}
<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:
<div style="margin-right: 2.5em;">


5000 - (400 * Level) + 1d((11 - Level) * 1000)
== Advancement Table ==
{| class="wikitable"
{| class="wikitable"
!Mutation Level
!Mutation<br>Level
!Regeneration Bonus
!Regen<br>Bonus
!Time to Regenerate 1 Limb
!Limb<br>Regen Chance
!Remove<br>Debuff Chance
|-
|-
|1
|1
| + 0.24 [[HP]] / Turn
|<nowiki>+20%</nowiki>
|Avg: 9,600.5 turns
|10%
Range: 4,601 - 14,600 turns
|1%
|-
|-
|2
|2
| + 0.28 [[HP]] / Turn
|<nowiki>+30%</nowiki>
|Avg: 8,700.5 turns
|20%
Range: 4,201 - 13,200 turns
|1%
|-
|-
|3
|3
| + 0.32 [[HP]] / Turn
|<nowiki>+40%</nowiki>
|Avg: 7,800.5 turns
|30%
Range: 3,801 - 11,800 turns
|2%
|-
|-
|4
|4
| + 0.36 [[HP]] / Turn
|<nowiki>+50%</nowiki>
|Avg: 6,900.5 turns
|40%
Range: 3,401 - 10,400 turns
|2%
|-
|-
|5
|5
| + 0.40 [[HP]] / Turn
|<nowiki>+60%</nowiki>
|Avg: 6,000.5 turns
|50%
Range: 3,001 - 9,000 turns
|2%
|-
|-
|6
|6
| + 0.44 [[HP]] / Turn
|<nowiki>+70%</nowiki>
|Avg: 5,100.5 turns
|60%
Range: 2,601 - 7,600 turns
|3%
|-
|-
|7
|7
| + 0.48 [[HP]] / Turn
|<nowiki>+80%</nowiki>
|Avg: 4,200.5 turns
|70%
Range: 2,201 - 6,200 turns
|3%
|-
|-
|8
|8
| + 0.52 [[HP]] / Turn
|<nowiki>+90%</nowiki>
|Avg: 3,300.5 turns
|80%
Range: 1,801 - 4,800 turns
|3%
|-
|-
|9
|9
| + 0.56 [[HP]] / Turn
|<nowiki>+100%</nowiki>
|Avg: 2,400.5 turns
|90%
Range: 1,401 - 3,400 turns
|4%
|-
|-
|10
|10
| + 0.60 [[HP]] / Turn
|<nowiki>+110%</nowiki>
|Avg: 1,500.5 turns
|100%
Range: 1,001 - 2,000 turns
|4%
|-
|}
 
</div>
 
<div style="margin-right: 2.5em;">
 
{| class="wikitable"
!Mutation<br>Level
!Regen<br>Bonus
!Limb<br>Regen Chance
!Remove<br>Debuff Chance
|-
|11
|<nowiki>+120%</nowiki>
|110%
|4%
|-
|12
|<nowiki>+130%</nowiki>
|120%
|5%
|-
|13
|<nowiki>+140%</nowiki>
|130%
|5%
|-
|14
|<nowiki>+150%</nowiki>
|140%
|5%
|-
|15
|<nowiki>+160%</nowiki>
|150%
|6%
|-
|16
|<nowiki>+170%</nowiki>
|160%
|6%
|-
|17
|<nowiki>+180%</nowiki>
|170%
|6%
|-
|18
|<nowiki>+190%</nowiki>
|180%
|7%
|-
|19
|<nowiki>+200%</nowiki>
|190%
|7%
|-
|20
|<nowiki>+210%</nowiki>
|200%
|7%
|}
|}
</div>
<div style="margin-right: 2.5em;">
{| class="wikitable"
!Mutation<br>Level
!Regen<br>Bonus
!Limb<br>Regen Chance
!Remove<br>Debuff Chance
|-
|21
|<nowiki>+220%</nowiki>
|210%
|8%
|-
|22
|<nowiki>+230%</nowiki>
|220%
|8%
|-
|23
|<nowiki>+240%</nowiki>
|230%
|8%
|-
|24
|<nowiki>+250%</nowiki>
|240%
|9%
|-
|25
|<nowiki>+260%</nowiki>
|250%
|9%
|-
|26
|<nowiki>+270%</nowiki>
|260%
|9%
|-
|27
|<nowiki>+280%</nowiki>
|270%
|10%
|-
|28
|<nowiki>+290%</nowiki>
|280%
|10%
|-
|29
|<nowiki>+300%</nowiki>
|290%
|10%
|-
|30
|<nowiki>+310%</nowiki>
|300%
|11%
|}
</div>
</div>
== Effects affected ==
The following effects can be removed by regeneration. These effects are only healed if they are applied to the creature that has regeneration, not their equipment. This includes natural equipment that is technically part of a creature's body, such as {{Favilink|Horns}}. The specific criteria for which effects can be removed by Regeneration are based on effect type as follows:{{Code Reference|class=GameObject|namespace=XRL.World|method=FireEvent|case="Regenera"}}
* Must be at least one of the following effect types: ''metabolic'', ''respiratory'', ''circulatory'', ''structural'', or ''neurological''
* Must be both of the following effect types: ''negative'' and ''removable''
* Must also be a ''minor'' effect unless Regeneration level is greater than or equal to 5
=== Regen < 5 ===
{{#cargo_query:table=Effects
|fields =CONCAT('[[', _pageName, '{{!}}', PlainName, ']]')
|where = Type RLIKE "111[01]{24}$" AND (Type RLIKE "1[01]{13}$" OR Type RLIKE "1[01]{10}$" OR Type RLIKE "1[01]{4}$" OR Type RLIKE "1[01]{3}$" OR Type RLIKE "1[01]{2}$")
|format = ul
|columns = 3}}
=== Regen >= 5 ===
All of the above effects, plus the following:
{{#cargo_query:table=Effects
|fields =CONCAT('[[', _pageName, '{{!}}', PlainName, ']]')
|where = Type RLIKE "110[01]{24}$" AND (Type RLIKE "1[01]{13}$" OR Type RLIKE "1[01]{10}$" OR Type RLIKE "1[01]{4}$" OR Type RLIKE "1[01]{3}$" OR Type RLIKE "1[01]{2}$")
|format = ul
|columns = 3}}


==Advantages & Disadvantages==
==Advantages & Disadvantages==
{{Opinion}}
{{Opinion}}
===Advantages===
===Advantages===
* Gives the player easy access to limb regeneration, which normally requires specific resources, such as {{Favilink|Ubernostrum injector|plural}}, {{Favilink|Regeneration tank|plural}}, or {{Favilink|Hyperbiotic bed|plural}}. Additionally, there is no limit on how many limbs a player can regenerate through the {{name}} mutation, while a player could, for example, run out of {{favilink|Ubernostrum injector|plural}}.
* Gives the player easy access to limb regeneration, which normally requires specific resources, such as {{Favilink|Ubernostrum injector|plural}} or a {{Favilink|Regeneration tank|plural}}
* Increases the player’s passive HP regeneration.
* No limit on how many limbs a player can regenerate
* Slightly decreases the amount of water a player requires, as they will have to rest for a shorter amount of time when healing after a fight.
* Increases the player’s passive {{heart}}HP regeneration
* Provides essentially full immunity to diseases at mutation level 5
* Provides immunity to decapitation at mutation level 10
* Provides essentially full immunity to fungal infections at mutation level 1


===Disadvantages===
===Disadvantages===
* Very high Mutation Point cost at character generation.
* High Mutation Point cost at character generation
* The bonus to passive [[HP]] regeneration is too low to make a significant difference in most fights.
* The bonus to passive {{heart}}[[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
* This mutation may lock you out of getting fungal infections, preventing you from gaining any benefits they bring
* Similarly, at level 5 and beyond it locks you out of [[Ironshank]]'s potential 5{{AV}}[[AV]] bonus
 
==Creatures with Regeneration==
{{Creatures with the mutation|Regeneration}}


== References ==
<references/>
{{Mutation Navbox}}
{{Mutation Navbox}}

Navigation menu