mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
[Quest API] Add Area-Based Quest Methods to Perl/Lua (#4447)
* [Quest API] Add Area-Based Quest Methods to Perl/Lua * Convert some to mob * Fix
This commit is contained in:
@@ -3412,6 +3412,24 @@ bool Lua_Client::AreTasksCompleted(luabind::object task_ids)
|
||||
return self->AreTasksCompleted(v);
|
||||
}
|
||||
|
||||
void Lua_Client::AreaTaunt()
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
entity_list.AETaunt(self);
|
||||
}
|
||||
|
||||
void Lua_Client::AreaTaunt(float range)
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
entity_list.AETaunt(self, range);
|
||||
}
|
||||
|
||||
void Lua_Client::AreaTaunt(float range, int bonus_hate)
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
entity_list.AETaunt(self, range, bonus_hate);
|
||||
}
|
||||
|
||||
luabind::scope lua_register_client() {
|
||||
return luabind::class_<Lua_Client, Lua_Mob>("Client")
|
||||
.def(luabind::constructor<>())
|
||||
@@ -3459,6 +3477,9 @@ luabind::scope lua_register_client() {
|
||||
.def("ApplySpellRaid", (void(Lua_Client::*)(int,int,int,bool,bool))&Lua_Client::ApplySpellRaid)
|
||||
.def("ApplySpellRaid", (void(Lua_Client::*)(int,int,int,bool,bool,bool))&Lua_Client::ApplySpellRaid)
|
||||
.def("AreTasksCompleted", (bool(Lua_Client::*)(luabind::object))&Lua_Client::AreTasksCompleted)
|
||||
.def("AreaTaunt", (void(Lua_Client::*)(void))&Lua_Client::AreaTaunt)
|
||||
.def("AreaTaunt", (void(Lua_Client::*)(float))&Lua_Client::AreaTaunt)
|
||||
.def("AreaTaunt", (void(Lua_Client::*)(float, int))&Lua_Client::AreaTaunt)
|
||||
.def("AssignTask", (void(Lua_Client::*)(int))&Lua_Client::AssignTask)
|
||||
.def("AssignTask", (void(Lua_Client::*)(int,int))&Lua_Client::AssignTask)
|
||||
.def("AssignTask", (void(Lua_Client::*)(int,int,bool))&Lua_Client::AssignTask)
|
||||
|
||||
Reference in New Issue
Block a user