|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtualinherited |
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.
| npc | |
| damage |
Definition at line 187 of file GlobalNPC.cs.