Damage System: add ability to apply periodical damage. Closes lord-server/lord#1625

This commit is contained in:
alek13
2024-09-12 00:53:14 +03:00
parent b1e1c0c98a
commit d5809f4413

View File

@@ -42,7 +42,7 @@ function ObjectRef:get_hp() end
--- * Is limited to the range of 0 ... 65535 (2^16 - 1)
--- * For players: HP are also limited by `hp_max` specified in object properties
--- @param hp number
--- @param reason string?
--- @param reason PlayerHPChangeReason
function ObjectRef:set_hp(hp, reason) end
--- @return InvRef|nil for players, otherwise returns `nil`
function ObjectRef:get_inventory() end