Regeneration: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Created page with "{{Mutation | title = {{PAGENAME}} | image = none | type = Physical | cost = 5 | id = Regeneration | code = bt | desc = Your wounds heal very quickly. Increased natural healin...")
 
imported>Teamtotobot
m (Bot: Adding {{Mutation Navbox}})
Line 30: Line 30:
       }
       }
</syntaxhighlight>
</syntaxhighlight>
{{Mutation Navbox}}

Revision as of 23:05, 22 August 2019

Regeneration
Category

Physical

Cost

5

ID?Use this ID to wish for the mutation
(example: mutation:Regeneration)

Regeneration

Reality DistortingReality distorting mutations
cannot be used under
the effects of normality.

no

Regeneration

Your wounds heal very quickly.

Increased natural healing rate
Severed limbs regrow over time

Regenerating Limbs

This article has information that is missing or not up to par.
Reason: My brain's too brain dead for this. Figure out what this means later
...
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;
      }