mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 10:50:24 +00:00
[Quest API] Add rule AlternateAugmentationSealer for using a different bagtype (#2831)
* [Quest API] Add rule AlternateAugmentationSealer for using a different bagtype as an alternate augmentation sealer. Use EVENT_COMBINE with UseAugmentContainer * Default it to be off or bagtype 53 (BagTypeAugmentationSealer)
This commit is contained in:
@@ -3032,6 +3032,12 @@ uint32 Lua_Client::GetItemCooldown(uint32 item_id)
|
||||
return self->GetItemCooldown(item_id);
|
||||
}
|
||||
|
||||
void Lua_Client::UseAugmentContainer(int container_slot)
|
||||
{
|
||||
Lua_Safe_Call_Void();
|
||||
self->UseAugmentContainer(container_slot);
|
||||
}
|
||||
|
||||
luabind::scope lua_register_client() {
|
||||
return luabind::class_<Lua_Client, Lua_Mob>("Client")
|
||||
.def(luabind::constructor<>())
|
||||
@@ -3553,6 +3559,7 @@ luabind::scope lua_register_client() {
|
||||
.def("UpdateLDoNPoints", (void(Lua_Client::*)(uint32,int))&Lua_Client::UpdateLDoNPoints)
|
||||
.def("UpdateTaskActivity", (void(Lua_Client::*)(int,int,int))&Lua_Client::UpdateTaskActivity)
|
||||
.def("UseDiscipline", (bool(Lua_Client::*)(int,int))&Lua_Client::UseDiscipline)
|
||||
.def("UseAugmentContainer", (void(Lua_Client::*)(int))&Lua_Client::UseAugmentContainer)
|
||||
.def("WorldKick", (void(Lua_Client::*)(void))&Lua_Client::WorldKick);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user