mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-23 21:56:24 +00:00
Add configs for random stack ratio
This commit is contained in:
@@ -132,9 +132,25 @@ private:
|
||||
uint32 AHBplayerAccount;
|
||||
ObjectGuid::LowType AHBplayerGUID;
|
||||
uint32 ItemsPerCycle;
|
||||
|
||||
|
||||
bool DisabledItemTextFilter;
|
||||
std::set<uint32> DisabledItems;
|
||||
|
||||
uint32 RandomStackRatioConsumable;
|
||||
uint32 RandomStackRatioContainer;
|
||||
uint32 RandomStackRatioWeapon;
|
||||
uint32 RandomStackRatioGem;
|
||||
uint32 RandomStackRatioArmor;
|
||||
uint32 RandomStackRatioReagent;
|
||||
uint32 RandomStackRatioProjectile;
|
||||
uint32 RandomStackRatioTradeGood;
|
||||
uint32 RandomStackRatioGeneric;
|
||||
uint32 RandomStackRatioRecipe;
|
||||
uint32 RandomStackRatioQuiver;
|
||||
uint32 RandomStackRatioQuest;
|
||||
uint32 RandomStackRatioKey;
|
||||
uint32 RandomStackRatioMisc;
|
||||
uint32 RandomStackRatioGlyph;
|
||||
std::vector<uint32> itemCandidateClassWeightedSeedList;
|
||||
std::map<uint32, std::vector<uint32>> itemCandidatesByItemClass;
|
||||
|
||||
@@ -169,6 +185,7 @@ public:
|
||||
void Initialize();
|
||||
void InitializeConfiguration();
|
||||
void LoadValues(AHBConfig*);
|
||||
uint32 GetRandomStackValue(std::string configKeyString, uint32 defaultValue);
|
||||
std::set<uint32> LoadDisabledItems(std::string disabledItemIdString);
|
||||
void Commands(uint32 command, uint32 ahMapID, char* args);
|
||||
ObjectGuid::LowType GetAHBplayerGUID() { return AHBplayerGUID; };
|
||||
|
||||
Reference in New Issue
Block a user