[Bots] Remove hardcoded race-class combinations from bots. (#1375)

* [Bots] Remove hardcoded race-class combinations from bots.
- Allows server operators to directly influence via a database table the classes a specific bot race can be.
- Previously this was hardcoded and required a source modification to do.
- Allowed races, classes, and genders have been removed due to redundancy at this point.

* Remove const cast and modify saylink definition.
This commit is contained in:
Alex
2021-06-11 14:30:56 -04:00
committed by GitHub
parent 0461ac7912
commit c3456ebea0
10 changed files with 147 additions and 365 deletions
+1
View File
@@ -186,6 +186,7 @@ public:
/* Bot miscellaneous functions */
uint8 GetSpellCastingChance(uint8 spell_type_index, uint8 class_index, uint8 stance_index, uint8 conditional_index);
uint16 GetRaceClassBitmask(uint16 bot_race);
class fail {
public: