Allow rule access from lua, double checked and fixed up the spell mitigation stuff

This commit is contained in:
KimLS
2017-06-17 16:41:32 -07:00
parent 70b3a7ba84
commit 16cbf9bbf1
4 changed files with 104 additions and 40 deletions
+5 -1
View File
@@ -1096,7 +1096,11 @@ void LuaParser::MapFunctions(lua_State *L) {
lua_register_object(),
lua_register_packet(),
lua_register_packet_opcodes(),
lua_register_stat_bonuses()
lua_register_stat_bonuses(),
lua_register_rules_const(),
lua_register_rulei(),
lua_register_ruler(),
lua_register_ruleb()
];
} catch(std::exception &ex) {