mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Revert "Add a Lua call to do damages / heals" ok @ShadowNinja
This reverts commit 467fc0ddc9
.
This commit is contained in:
parent
61f2d0ca34
commit
008d7e0467
3 changed files with 3 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue