Heal NPCs a bit faster

This commit is contained in:
Wuzzy 2021-08-08 02:38:15 +02:00
parent c134eb6ccf
commit 954afb7516
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ for _, npc_type_table in pairs(npc_types) do
do_custom = function(self)
-- Slowly heal NPC over time
self.healing_counter = self.healing_counter + 1
if self.healing_counter >= 10 then
if self.healing_counter >= 7 then
local hp = self.object:get_hp()
hp = math.min(20, hp + 1)
self.object:set_hp(hp)