Damage System: add ability to apply periodical damage. Closes lord-server/lord#1625
This commit is contained in:
@@ -42,7 +42,7 @@ function ObjectRef:get_hp() end
|
|||||||
--- * Is limited to the range of 0 ... 65535 (2^16 - 1)
|
--- * Is limited to the range of 0 ... 65535 (2^16 - 1)
|
||||||
--- * For players: HP are also limited by `hp_max` specified in object properties
|
--- * For players: HP are also limited by `hp_max` specified in object properties
|
||||||
--- @param hp number
|
--- @param hp number
|
||||||
--- @param reason string?
|
--- @param reason PlayerHPChangeReason
|
||||||
function ObjectRef:set_hp(hp, reason) end
|
function ObjectRef:set_hp(hp, reason) end
|
||||||
--- @return InvRef|nil for players, otherwise returns `nil`
|
--- @return InvRef|nil for players, otherwise returns `nil`
|
||||||
function ObjectRef:get_inventory() end
|
function ObjectRef:get_inventory() end
|
||||||
|
|||||||
Reference in New Issue
Block a user