diff options
author | Wuzzy <wuzzy2@mail.ru> | 2022-01-06 20:16:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 21:16:35 +0100 |
commit | b81948a14c138517f6a227dac5b71f0b2facb33c (patch) | |
tree | ffa09a47f4d5ad118b165d889baff5f122e2ec2f /doc | |
parent | 85da2e284b8091062e1b53ad5a703aae6cbc3a3c (diff) | |
download | minetest-b81948a14c138517f6a227dac5b71f0b2facb33c.tar.gz minetest-b81948a14c138517f6a227dac5b71f0b2facb33c.tar.bz2 minetest-b81948a14c138517f6a227dac5b71f0b2facb33c.zip |
Fix damage wraparound if very high damage (#11872)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d4dc19fdd..3edfd5bb1 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3524,7 +3524,7 @@ Helper functions * `minetest.get_hit_params(groups, tool_capabilities [, time_from_last_punch [, wear]])`: Simulates an item that punches an object. Returns a table with the following fields: - * `hp`: How much damage the punch would cause. + * `hp`: How much damage the punch would cause (between -65535 and 65535). * `wear`: How much wear would be added to the tool (ignored for non-tools). Parameters: * `groups`: Damage groups of the object |