Michael Cook (mackal)
2b4e555eae
[Feature] Faction Association ( #2408 )
...
* Add faction logging category
Probably should use this for more things
* Add FactionAssociation struct
This is simply just a struct that contains an array of faction ids and
multiplier. This can hold a maximum of 10 entries (Seru hit is 8, so 2
extra) this can be raised if need be.
* Add database changes and other data point changes
This is all the database changes and loading changes
Included is an optional SQL that will be used as a starting point, there
is likely errors or typos, but we will fix those as they are discovered.
* Add Client::RewardFaction function
This just takes the faction ID and the magnitude of the primary faction
hit and calculates the rest.
The minimum change will be either 1 or -1. We stop processing after we
see an ID of 0 and assume there will be no later entries.
The primary faction ID will always receive a hit even if there is no
faction association entries
* Add users of RewardFaction to NPC death, tasks, and QuestRewards
This will only use the new system if the magnitude is set, otherwise we
will just use the old system still
* Add quest system calls and lua QuestReward support
* Add #factionassociation command
This just calls RewardFaction, mostly useful for debugging
2022-09-03 10:57:55 -04:00
..
2022-09-03 10:57:55 -04:00
2020-02-06 14:20:18 -05:00
2021-11-03 17:47:15 -04:00
2022-09-01 18:48:28 -05:00
2022-01-16 14:55:51 -05:00
2022-05-27 11:40:43 -04:00
2017-02-18 22:27:34 -05:00
2017-02-18 22:27:34 -05:00
2022-09-01 18:48:28 -05:00
2019-05-16 00:12:21 -07:00
2022-09-03 10:57:55 -04:00
2022-08-18 12:34:37 -04:00
2020-01-19 21:57:28 -06:00
2022-08-30 23:29:41 -05:00
2022-05-07 22:32:02 -05:00
2022-06-04 14:00:21 -04:00
2022-09-01 18:48:28 -05:00
2022-07-02 21:46:00 -05:00
2022-09-01 18:48:28 -05:00
2022-08-20 03:15:58 -05:00
2019-09-05 14:12:56 +10:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2022-07-14 02:10:52 -05:00
2021-10-24 16:06:22 -05:00
2021-08-31 01:24:21 -05:00
2022-09-01 18:48:28 -05:00
2022-09-03 00:57:57 -05:00
2022-01-02 21:06:31 -06:00
2022-09-01 18:48:28 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2022-09-01 19:18:21 -05:00
2022-07-14 02:10:52 -05:00
2022-05-07 22:32:02 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2022-05-08 18:18:24 -04:00
2022-09-01 19:18:21 -05:00
2022-05-07 22:32:02 -05:00
2022-09-01 18:48:28 -05:00
2021-02-08 23:06:33 -06:00
2022-08-13 20:40:22 -04:00
2021-09-05 20:29:21 -05:00
2022-09-01 18:48:28 -05:00
2022-08-13 18:16:55 -05:00
2022-07-30 21:00:11 -05:00
2022-07-30 21:00:11 -05:00
2022-09-01 18:48:28 -05:00
2022-09-03 10:57:55 -04:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-08-30 23:29:41 -05:00
2022-05-07 22:32:02 -05:00
2022-08-30 23:08:24 -05:00
2022-07-30 19:18:20 -05:00
2022-04-25 11:18:52 -05:00
2022-08-20 03:16:58 -05:00
2022-07-14 02:10:52 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2018-03-04 13:54:28 -05:00
2018-03-04 02:19:12 -05:00
2020-01-03 17:25:53 -06:00
2022-09-01 19:18:21 -05:00
2022-05-06 19:50:03 -04:00
2020-02-06 01:52:35 -05:00
2022-07-14 02:10:52 -05:00
2022-02-07 07:48:52 -05:00
2022-09-01 18:48:28 -05:00
2020-05-17 18:36:06 -07:00
2022-07-14 02:10:52 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2019-09-17 00:18:07 -05:00
2022-07-14 02:10:52 -05:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2022-07-31 13:45:17 -05:00
2022-07-31 13:45:17 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2021-11-06 17:36:00 -04:00
2021-09-13 15:42:04 -04:00
2021-11-06 17:36:00 -04:00
2017-04-08 21:08:15 -04:00
2022-07-30 19:16:25 -05:00
2022-04-02 17:51:26 -04:00
2021-11-06 17:36:00 -04:00
2021-06-11 13:46:30 -05:00
2022-09-01 18:48:28 -05:00
2022-07-30 21:00:11 -05:00
2022-09-01 19:18:21 -05:00
2019-07-18 00:56:46 -04:00
2021-11-06 17:36:00 -04:00
2020-12-30 18:47:11 -05:00
2021-11-06 17:36:00 -04:00
2022-05-09 20:49:43 -05:00
2022-05-09 20:49:43 -05:00
2022-02-06 13:21:48 -05:00
2022-02-06 13:21:48 -05:00
2022-06-04 14:00:21 -04:00
2022-06-04 14:00:21 -04:00
2022-01-16 18:04:51 -05:00
2022-01-16 18:04:51 -05:00
2022-07-30 19:18:20 -05:00
2022-07-30 19:18:20 -05:00
2022-06-09 17:20:35 -05:00
2020-10-25 23:48:57 -05:00
2022-07-30 19:40:51 -04:00
2022-07-30 19:40:51 -04:00
2021-11-06 17:36:00 -04:00
2022-01-02 21:06:31 -06:00
2021-05-24 20:22:31 -05:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2017-05-15 15:46:19 -07:00
2021-11-12 21:16:39 -05:00
2020-12-30 18:47:11 -05:00
2021-11-12 21:16:39 -05:00
2021-11-12 21:16:39 -05:00
2021-09-03 20:19:39 -05:00
2022-05-07 22:32:02 -05:00
2022-05-07 22:32:02 -05:00
2022-09-03 10:57:55 -04:00
2020-05-17 18:36:06 -07:00
2019-12-28 22:45:35 -06:00
2022-09-01 18:48:28 -05:00
2022-05-07 22:32:02 -05:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2022-08-13 20:40:22 -04:00
2022-07-02 13:49:45 -05:00
2020-04-30 11:35:09 -04:00
2022-08-30 23:29:41 -05:00
2022-08-30 23:29:41 -05:00
2022-09-01 18:48:28 -05:00
2022-05-23 19:56:03 -04:00
2022-08-13 18:16:55 -05:00
2022-05-07 22:32:02 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2022-09-01 18:48:28 -05:00
2020-05-17 18:36:06 -07:00
2019-03-13 22:55:49 -07:00
2019-03-13 22:55:49 -07:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2021-02-23 18:30:46 -06:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2022-07-14 02:10:52 -05:00
2018-11-07 21:55:12 -08:00
2022-07-27 09:00:09 -05:00
2022-07-31 13:45:17 -05:00
2022-08-23 13:23:33 -05:00
2022-07-05 16:17:55 -05:00
2022-07-30 19:16:25 -05:00
2022-09-01 18:48:28 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-08-21 15:38:21 -04:00
2022-08-21 15:38:21 -04:00
2022-07-05 16:07:41 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2021-11-03 17:47:15 -04:00
2022-07-14 02:10:52 -05:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2017-11-04 01:27:41 -04:00
2022-07-14 02:10:52 -05:00
2018-10-13 23:53:16 -07:00
2022-07-14 02:10:52 -05:00
2022-07-14 02:10:52 -05:00
2022-06-09 17:22:23 -05:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2022-07-27 09:00:09 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2022-09-01 18:48:47 -05:00
2022-02-07 07:48:52 -05:00
2022-07-30 20:36:04 -05:00
2021-09-05 01:21:23 -05:00
2022-09-01 18:48:28 -05:00
2022-05-06 18:12:29 -05:00
2022-09-01 18:48:28 -05:00
2021-03-02 12:39:04 -05:00
2022-07-30 14:28:06 -05:00
2022-07-30 13:36:48 -05:00
2022-07-30 13:36:48 -05:00
2022-09-01 23:09:13 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 03:33:49 -05:00
2022-07-14 02:10:52 -05:00
2022-05-07 15:37:06 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 03:33:49 -05:00
2022-07-14 02:10:52 -05:00
2021-09-05 01:21:23 -05:00
2022-07-14 02:10:52 -05:00
2022-05-19 20:15:44 -04:00
2022-09-01 19:18:21 -05:00
2022-09-01 23:09:13 -05:00
2022-07-14 02:10:52 -05:00
2017-10-28 10:02:31 -07:00
2021-11-16 08:52:22 -05:00
2022-07-14 02:10:52 -05:00
2019-03-13 22:55:49 -07:00
2019-12-28 22:45:35 -06:00
2022-07-14 02:10:52 -05:00
2022-09-03 10:57:55 -04:00
2022-05-10 06:19:07 -04:00
2017-02-17 21:04:48 -05:00
2017-02-17 21:04:48 -05:00
2017-07-15 20:29:55 -07:00
2022-07-14 02:10:52 -05:00
2021-03-29 02:52:57 -05:00
2022-05-06 20:06:51 -04:00
2020-01-31 20:25:06 -06:00
2022-09-01 19:18:21 -05:00
2022-09-01 18:48:28 -05:00
2022-09-03 10:57:55 -04:00
2022-09-01 18:48:28 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 00:57:57 -05:00