[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:
Alex King
2023-01-01 11:35:15 -05:00
committed by GitHub
parent 3a4ba6f422
commit 1531650b3a
11 changed files with 371 additions and 348 deletions
+2 -2
View File
@@ -1908,9 +1908,9 @@ void Perl_Mob_TempName(Mob* self, const char* name) // @categories Script Utilit
self->TempName(name);
}
int Perl_Mob_GetItemStat(Mob* self, uint32 item_id, const char* stat) // @categories Inventory and Items, Stats and Attributes
const int Perl_Mob_GetItemStat(Mob* self, uint32 item_id, std::string identifier) // @categories Inventory and Items, Stats and Attributes
{
return self->GetItemStat(item_id, stat);
return self->GetItemStat(item_id, identifier);
}
std::string Perl_Mob_GetGlobal(Mob* self, const char* varname)