Add GetDisplayAC() to Perl/Lua.

This commit is contained in:
Alex committed 2020-06-29 15:49:24 -04:00
1 parent f32126faac
commit eb039d176c
5 files changed
+39 -5

No files matched your search

+6
View File
@@ -532,6 +532,11 @@ int Lua_Mob::GetAC() {
return self->GetAC();
}
int Lua_Mob::GetDisplayAC() {
Lua_Safe_Call_Int();
return self->GetDisplayAC();
}
int Lua_Mob::GetATK() {
Lua_Safe_Call_Int();
return self->GetATK();
@@ -2344,6 +2349,7 @@ luabind::scope lua_register_mob() {
.def("SetMana", &Lua_Mob::SetMana)
.def("GetManaRatio", &Lua_Mob::GetManaRatio)
.def("GetAC", &Lua_Mob::GetAC)
.def("GetDisplayAC", &Lua_Mob::GetDisplayAC)
.def("GetATK", &Lua_Mob::GetATK)
.def("GetSTR", &Lua_Mob::GetSTR)
.def("GetSTA", &Lua_Mob::GetSTA)