mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add Augment Slot Type/Visible to GetItemStat (#2686)
* [Quest API] Add Augment Slot Type/Visible to GetItemStat # Notes - Adds the ability to get an item's augment slot types and augment slot visibility information. * const
This commit is contained in:
+3
-3
@@ -2213,9 +2213,9 @@ int Lua_Mob::GetWeaponDamageBonus(Lua_Item weapon, bool offhand) {
|
||||
return self->GetWeaponDamageBonus(weapon, offhand);
|
||||
}
|
||||
|
||||
int Lua_Mob::GetItemStat(uint32 itemid, const char* identifier) {
|
||||
const int Lua_Mob::GetItemStat(uint32 item_id, std::string identifier) {
|
||||
Lua_Safe_Call_Int();
|
||||
return self->GetItemStat(itemid, identifier);
|
||||
return self->GetItemStat(item_id, identifier);
|
||||
}
|
||||
|
||||
Lua_StatBonuses Lua_Mob::GetItemBonuses()
|
||||
@@ -3090,7 +3090,7 @@ luabind::scope lua_register_mob() {
|
||||
.def("GetInvul", (bool(Lua_Mob::*)(void))&Lua_Mob::GetInvul)
|
||||
.def("GetItemBonuses", &Lua_Mob::GetItemBonuses)
|
||||
.def("GetItemHPBonuses", &Lua_Mob::GetItemHPBonuses)
|
||||
.def("GetItemStat", (int(Lua_Mob::*)(uint32,const char*))&Lua_Mob::GetItemStat)
|
||||
.def("GetItemStat", &Lua_Mob::GetItemStat)
|
||||
.def("GetLastName", &Lua_Mob::GetLastName)
|
||||
.def("GetLevel", &Lua_Mob::GetLevel)
|
||||
.def("GetLevelCon", (uint32(Lua_Mob::*)(int))&Lua_Mob::GetLevelCon)
|
||||
|
||||
Reference in New Issue
Block a user