lua-zugang zum Kampfstatus

This commit is contained in:
Enno Rehling 2004-05-30 01:21:28 +00:00
parent e281d5d7fa
commit fe494b0d3b
1 changed files with 1 additions and 0 deletions

View File

@ -281,6 +281,7 @@ bind_unit(lua_State * L)
.def_readonly("faction", &unit::faction) .def_readonly("faction", &unit::faction)
.def_readonly("id", &unit::no) .def_readonly("id", &unit::no)
.def_readwrite("hp", &unit::hp) .def_readwrite("hp", &unit::hp)
.def_readwrite("status", &unit::status)
.def("get_item", &unit_getitem) .def("get_item", &unit_getitem)
.def("add_item", &unit_additem) .def("add_item", &unit_additem)
.def("get_skill", &unit_getskill) .def("get_skill", &unit_getskill)