[Quest API] Add back removed lua class properties (#1742)

Fixes regression from 7b6decae
This commit is contained in:
hg
2021-11-12 21:16:39 -05:00
committed by GitHub
parent 1a69218045
commit 3c87480553
5 changed files with 11 additions and 1 deletions
+2
View File
@@ -493,6 +493,8 @@ luabind::scope lua_register_spell() {
return luabind::class_<Lua_Spell>("Spell")
.def(luabind::constructor<>())
.def(luabind::constructor<int>())
.property("null", &Lua_Spell::Null)
.property("valid", &Lua_Spell::Valid)
.def("AEDuration", &Lua_Spell::GetAEDuration)
.def("AEMaxTargets", &Lua_Spell::GetAEMaxTargets)
.def("Activated", &Lua_Spell::GetActivated)