diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-22 18:01:56 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-22 18:01:56 +0100 |
commit | 008d7e0467a30f78e0c1a707be0c34aaa884732c (patch) | |
tree | 53e90fc4eca8585e473b8a459100362f3ba45fd3 /doc | |
parent | 61f2d0ca3417b2a18a60015bf5423629d81bb754 (diff) | |
download | minetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.tar.gz minetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.tar.bz2 minetest-008d7e0467a30f78e0c1a707be0c34aaa884732c.zip |
Revert "Add a Lua call to do damages / heals" ok @ShadowNinja
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index fbacb07d9..0b12652f1 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -2336,7 +2336,6 @@ This is basically a reference to a C++ `ServerActiveObject` * `right_click(clicker)`; `clicker` is another `ObjectRef` * `get_hp()`: returns number of hitpoints (2 * number of hearts) * `set_hp(hp)`: set number of hitpoints (2 * number of hearts) -* `apply_damage(damage)`: set amount of damage to object. If damage < 0, heal the target * `get_inventory()`: returns an `InvRef` * `get_wield_list()`: returns the name of the inventory list the wielded item is in * `get_wield_index()`: returns the index of the wielded item |