refactor(DB/reputation_spillover_template): Reputation spillover table expansion (#14763)

* Update ObjectMgr.cpp

Rework to `ObjectMgr::LoadReputationSpilloverTemplate()` allowing more factons to be added.

* Create reputation_spillover_template-update.sql

Alteration to `reputation_spillover_template` table, update allowing to add two more factions.

* Update SharedDefines.h

`MAX_SPILLOVER_FACTIONS` is now equal 6 instead of 4.

* Update reputation_spillover_template-update.sql

Now it alters table instead recreating it.
This commit is contained in:
Alyst3r
2023-10-22 04:45:50 +02:00
committed by GitHub
parent 900ca087c9
commit 2e55cad450
3 changed files with 16 additions and 3 deletions

View File

@@ -216,7 +216,7 @@ enum FactionTemplates
#define MIN_REPUTATION_RANK (REP_HATED)
#define MAX_REPUTATION_RANK 8
#define MAX_SPILLOVER_FACTIONS 4
#define MAX_SPILLOVER_FACTIONS 6
enum MoneyConstants
{