From 008d7e0467a30f78e0c1a707be0c34aaa884732c Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sun, 22 Mar 2015 18:01:56 +0100 Subject: Revert "Add a Lua call to do damages / heals" ok @ShadowNinja This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0. --- doc/lua_api.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'doc') 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 -- cgit v1.2.3