forked from github/server
lua-zugang zum Kampfstatus
This commit is contained in:
parent
e281d5d7fa
commit
fe494b0d3b
|
@ -281,6 +281,7 @@ bind_unit(lua_State * L)
|
|||
.def_readonly("faction", &unit::faction)
|
||||
.def_readonly("id", &unit::no)
|
||||
.def_readwrite("hp", &unit::hp)
|
||||
.def_readwrite("status", &unit::status)
|
||||
.def("get_item", &unit_getitem)
|
||||
.def("add_item", &unit_additem)
|
||||
.def("get_skill", &unit_getskill)
|
||||
|
|
Loading…
Reference in New Issue