Kinglykrab 730cd3f28a
[Bots] Add Expansion Bitmask Quest APIs. (#2523)
* [Bots] Add Expansion Bitmask Quest APIs.

- Add `$bot->GetExpansionBitmask()` to Perl.
- Add `$bot->SetExpansionBitmask(expansion_bitmask)` to Perl.

- Add `bot:GetExpansionBitmask()` to Lua.
- Add `bot:SetExpansionBitmask(expansion_bitmask)` to Lua.

- Adds `expansion_bitmask` column to `bot_data` table.
- Allows server operators to limit expansion settings on a bot-by-bot basis.
- Allows limiting or allowing of AAs in `Bot::LoadAAs()` based on expansion bitmask.
- Default value is `-1` which just defaults to the `Bots:BotExpansionSettings` rule value.
- Setting bitmask saves to database and reloads AAs so bots automatically recalculate bonuses.

* Add save parameter.

* Typo.
2022-11-16 07:29:50 -06:00
..
2020-07-07 02:09:39 -05:00
2013-02-16 16:14:39 -08:00
2014-08-21 16:44:02 -07:00
2014-08-21 17:26:32 -07:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:13:16 -04:00
2016-05-30 06:52:25 -04:00
2013-05-09 11:37:51 -04:00
2017-01-22 22:26:34 -08:00
2014-08-21 19:33:02 -07:00
2014-08-21 19:33:02 -07:00
2014-08-21 17:26:32 -07:00
2016-05-25 16:10:28 -04:00
2014-08-21 17:26:32 -07:00
2015-12-17 14:14:04 -08:00
2015-12-17 14:14:04 -08:00
2013-05-09 11:37:51 -04:00
2018-04-27 21:41:52 -04:00
2018-04-27 21:41:52 -04:00
2016-05-25 02:38:06 -04:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:37:51 -04:00
2020-01-16 17:17:31 -05:00
2013-05-09 11:13:16 -04:00
2013-02-16 16:14:39 -08:00
2014-08-21 19:36:50 -07:00
2013-05-09 11:13:16 -04:00
2020-05-09 14:40:33 -05:00
2013-05-09 11:37:51 -04:00
2013-05-09 11:37:51 -04:00
2021-07-16 21:50:46 -04:00
2014-12-15 22:42:59 -06:00
2013-05-09 11:37:51 -04:00
2015-01-19 04:02:45 -06:00
2019-04-16 01:09:25 -07:00
2019-04-16 01:09:25 -07:00
2019-09-01 23:54:24 -05:00
2016-10-16 21:36:39 -04:00
2019-09-01 23:41:26 -05:00
2018-07-14 17:41:42 -04:00
2013-05-09 11:37:51 -04:00
2014-08-21 19:33:02 -07:00
2022-10-15 15:17:50 -05:00
2022-10-15 15:17:50 -05:00