1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 17:50:37 +01:00

[gauges] Make gauges immortal

This commit is contained in:
LeMagnesium 2016-03-05 19:00:37 +01:00
parent 7dbac7b8ca
commit b25fd961f6

View File

@ -8,6 +8,9 @@ local hp_bar = {
textures = {"20.png"}, -- The texture is changed later in the code.
visual_size = {x = 1.5, y = 0.09375, z = 1.5}, -- Y value is (1 / 16) * 1.5.
wielder = nil,
on_activate = function(self)
self.object:set_armor_groups({immortal = 1})
end,
}
function hp_bar:on_step(dtime)