Add weighted bot to banker teleport logic and config (#1615)

* add weighted bot to banker teleport logic and config

* moved banker location lookup tables to top of file
This commit is contained in:
zeb139
2025-09-06 10:10:56 -04:00
committed by GitHub
parent e46269920a
commit bf56154eee
5 changed files with 181 additions and 19 deletions

View File

@@ -183,7 +183,11 @@ public:
bool InsideBracket(uint32 val) { return val >= low && val <= high; }
};
std::map<uint32, LevelBracket> zone2LevelBracket;
std::map<uint8, std::vector<WorldLocation>> bankerLocsPerLevelCache;
struct BankerLocation {
WorldLocation loc;
uint32 entry;
};
std::map<uint8, std::vector<BankerLocation>> bankerLocsPerLevelCache;
// Account type management
void AssignAccountTypes();