mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-13 10:58:20 +00:00
[Luamod] Add CalcSpellEffectValue_formula to luamods (#2721)
* [Luamod] Add CalcSpellEffectValue_formula to luamods with example code in utils/mods/spell_formula.lua * Fix typo * Change formula down to uint32, fix format issues and remove debug on lua file
This commit is contained in:
@@ -1580,6 +1580,10 @@ void lua_log_combat(std::string message) {
|
||||
Log(Logs::General, Logs::Combat, message.c_str());
|
||||
}
|
||||
|
||||
void lua_log_spells(std::string message) {
|
||||
Log(Logs::General, Logs::Spells, message.c_str());
|
||||
}
|
||||
|
||||
void lua_update_zone_header(std::string type, std::string value) {
|
||||
quest_manager.UpdateZoneHeader(type, value);
|
||||
}
|
||||
@@ -4142,6 +4146,7 @@ luabind::scope lua_register_general() {
|
||||
luabind::def("debug", (void(*)(std::string))&lua_debug),
|
||||
luabind::def("debug", (void(*)(std::string, int))&lua_debug),
|
||||
luabind::def("log_combat", (void(*)(std::string))&lua_log_combat),
|
||||
luabind::def("log_spells", (void(*)(std::string))&lua_log_spells),
|
||||
luabind::def("seconds_to_time", &lua_seconds_to_time),
|
||||
luabind::def("time_to_seconds", &lua_time_to_seconds),
|
||||
luabind::def("get_hex_color_code", &lua_get_hex_color_code),
|
||||
|
||||
Reference in New Issue
Block a user