diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-10-10 19:12:17 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-10-10 19:12:17 +0200 |
| commit | 8492c273dd50227ca01ead785eda6c4de9361e74 (patch) | |
| tree | 32ee09dc18c37d9ec4e867e3dd69b27b1cee5253 /src/server/database/Database | |
| parent | 8147a42aefb5c94fb70205141e611d3100cbd99d (diff) | |
Core/Spells: Implemented SpellReagentsCurrency.db2
Diffstat (limited to 'src/server/database/Database')
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 5 | ||||
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 67420de9325..4ec6219cb45 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -1423,6 +1423,11 @@ void HotfixDatabaseConnection::DoPrepareStatements() " WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); PREPARE_MAX_ID_STMT(HOTFIX_SEL_SPELL_REAGENTS, "SELECT MAX(ID) + 1 FROM spell_reagents", CONNECTION_SYNCH); + // SpellReagentsCurrency.db2 + PrepareStatement(HOTFIX_SEL_SPELL_REAGENTS_CURRENCY, "SELECT ID, SpellID, CurrencyTypesID, CurrencyCount FROM spell_reagents_currency" + " WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); + PREPARE_MAX_ID_STMT(HOTFIX_SEL_SPELL_REAGENTS_CURRENCY, "SELECT MAX(ID) + 1 FROM spell_reagents_currency", CONNECTION_SYNCH); + // SpellScaling.db2 PrepareStatement(HOTFIX_SEL_SPELL_SCALING, "SELECT ID, SpellID, MinScalingLevel, MaxScalingLevel, ScalesFromItemLevel FROM spell_scaling" " WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH); diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h index 431dfef994b..e11c93a7fb7 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -826,6 +826,9 @@ enum HotfixDatabaseStatements : uint32 HOTFIX_SEL_SPELL_REAGENTS, HOTFIX_SEL_SPELL_REAGENTS_MAX_ID, + HOTFIX_SEL_SPELL_REAGENTS_CURRENCY, + HOTFIX_SEL_SPELL_REAGENTS_CURRENCY_MAX_ID, + HOTFIX_SEL_SPELL_SCALING, HOTFIX_SEL_SPELL_SCALING_MAX_ID, |
