mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Datastores: synchronize spelleffect_dbc database table field namings with dbc struct names
This commit is contained in:
10
sql/updates/world/4.3.4/2020_05_03_00_world.sql
Normal file
10
sql/updates/world/4.3.4/2020_05_03_00_world.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
ALTER TABLE `spelleffect_dbc`
|
||||
CHANGE `EffectValueMultiplier` `EffectAmplitude` FLOAT UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectApplyAuraName` `EffectAura` INT(10) UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectAmplitude` `EffectAuraPeriod` INT(10) UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectBonusMultiplier` `EffectBonusCoefficient` FLOAT UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectDamageMultiplier` `EffectChainAmplitude` FLOAT UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectChainTarget` `EffectChainTargets` INT(10) UNSIGNED DEFAULT 0 NOT NULL,
|
||||
ADD COLUMN `EffectPointsPerResource` FLOAT UNSIGNED NOT NULL AFTER `EffectMiscValueB`,
|
||||
CHANGE `EffectRadiusIndexMax` `EffectRadiusMaxIndex` INT(10) UNSIGNED DEFAULT 0 NOT NULL,
|
||||
CHANGE `EffectSpellId` `SpellID` INT(10) UNSIGNED NOT NULL;
|
||||
@@ -147,7 +147,7 @@ const std::string CustomSpellDifficultyIndex = "id";
|
||||
char const SpellDurationfmt[] = "niii";
|
||||
// 0 10 20 26
|
||||
char const SpellEffectEntryfmt[] = "nifiiiffiiiiiifiifiiiiiiiix";
|
||||
const std::string CustomSpellEffectEntryfmt = "ppppppppppppppapppppppppppa";
|
||||
const std::string CustomSpellEffectEntryfmt = "ppppppppppppppppppppppppppa";
|
||||
const std::string CustomSpellEffectEntryIndex = "Id";
|
||||
// 0 10 20 30 40 47
|
||||
char const SpellEntryfmt[] = "niiiiiiiiiiiiiiifiiiissxxiixxifiiiiiiixiiiiiiiii";
|
||||
|
||||
Reference in New Issue
Block a user