forked from github/server
spell:school als property
This commit is contained in:
parent
24dc202812
commit
03243b0411
|
@ -28,6 +28,6 @@ bind_spell(lua_State * L)
|
|||
class_<struct spell>("spell")
|
||||
.def_readonly("name", &spell::sname)
|
||||
.def_readonly("level", &spell::level)
|
||||
.def("school", &spell_getschool)
|
||||
.property("school", &spell_getschool)
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue