mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add EVENT_CONSIDER to Perl and Lua. (#1531)
* [Quest API] Add EVENT_CONSIDER to Perl and Lua. - Exports $entity_id in Perl. - Exports e.entity_id in Lua. Allows you to perform events on consider for server operators. * Missing comma. * Formatting. * Add return capability to EVENT_CONSIDER and EVENT_CONSIDER_CORPSE so operators can break out of consider functions.
This commit is contained in:
@@ -3242,6 +3242,7 @@ luabind::scope lua_register_events() {
|
||||
luabind::value("use_skill", static_cast<int>(EVENT_USE_SKILL)),
|
||||
luabind::value("warp", static_cast<int>(EVENT_WARP)),
|
||||
luabind::value("test_buff", static_cast<int>(EVENT_TEST_BUFF)),
|
||||
luabind::value("consider", static_cast<int>(EVENT_CONSIDER)),
|
||||
luabind::value("consider_corpse", static_cast<int>(EVENT_CONSIDER_CORPSE))
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user