mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 04:22:26 +00:00
Added eq.attack(client_name) to lua.
This commit is contained in:
parent
f46f7bd528
commit
7b5b1b2583
@ -969,6 +969,10 @@ void lua_add_spawn_point(luabind::object table) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void lua_attack(const char *client_name) {
|
||||||
|
quest_manager.attack(client_name);
|
||||||
|
}
|
||||||
|
|
||||||
luabind::scope lua_register_general() {
|
luabind::scope lua_register_general() {
|
||||||
return luabind::namespace_("eq")
|
return luabind::namespace_("eq")
|
||||||
[
|
[
|
||||||
@ -1117,7 +1121,8 @@ luabind::scope lua_register_general() {
|
|||||||
luabind::def("remove_area", &lua_remove_area),
|
luabind::def("remove_area", &lua_remove_area),
|
||||||
luabind::def("clear_areas", &lua_clear_areas),
|
luabind::def("clear_areas", &lua_clear_areas),
|
||||||
luabind::def("add_spawn_point", &lua_add_spawn_point),
|
luabind::def("add_spawn_point", &lua_add_spawn_point),
|
||||||
luabind::def("remove_spawn_point", &lua_remove_spawn_point)
|
luabind::def("remove_spawn_point", &lua_remove_spawn_point),
|
||||||
|
luabind::def("attack", &lua_attack)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user