|
TModLoader v1.4.4.9
TModLoader source code documentation
|
Allows you to make the NPC either regenerate health or take damage over time by setting NPC.lifeRegen. Regeneration or damage will occur at a rate of half of NPC.lifeRegen per second. The damage parameter is the number that appears above the NPC's head if it takes damage over time.
| damage |
Definition at line 297 of file ModNPC.cs.