From 1a7d3d8188d3f484b6c3f0f05fd057d543a34725 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sun, 18 Oct 2020 16:18:07 +0200 Subject: Extended ClientObjectRef; Improved CrystalPvP --- src/script/lua_api/l_clientobject.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/script/lua_api/l_clientobject.h') diff --git a/src/script/lua_api/l_clientobject.h b/src/script/lua_api/l_clientobject.h index 3022555f5..88a6956bc 100644 --- a/src/script/lua_api/l_clientobject.h +++ b/src/script/lua_api/l_clientobject.h @@ -31,6 +31,7 @@ public: static void Register(lua_State *L); static void create(lua_State *L, ClientActiveObject *object); + static void create(lua_State *L, s16 id); static ClientObjectRef *checkobject(lua_State *L, int narg); @@ -74,4 +75,10 @@ private: // get_hp(self) static int l_get_max_hp(lua_State *L); + + // punch(self) + static int l_punch(lua_State *L); + + // rightclick(self) + static int l_rightclick(lua_State *L); }; -- cgit v1.2.3