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

Fixes regression from 7b6decae
This commit is contained in:
hg authored and GitHub committed 2021-11-12 21:16:39 -05:00
1 parent 1a69218045
commit 3c87480553
5 files changed
+11 -1

No files matched your search

+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)