mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 02:53:48 +00:00
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:
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE `reputation_spillover_template`
|
||||
ADD COLUMN `faction5` SMALLINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
ADD COLUMN `rate_5` FLOAT NOT NULL DEFAULT '0',
|
||||
ADD COLUMN `rank_5` TINYINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
ADD COLUMN `faction6` SMALLINT UNSIGNED NOT NULL DEFAULT '0',
|
||||
ADD COLUMN `rate_6` FLOAT NOT NULL DEFAULT '0',
|
||||
ADD COLUMN `rank_6` TINYINT UNSIGNED NOT NULL DEFAULT '0';
|
||||
Reference in New Issue
Block a user