diff options
| author | Shauren <shauren.trinity@gmail.com> | 2016-05-02 18:52:15 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2016-05-02 18:52:15 +0200 |
| commit | 110ae3e6261694cd5a9ad1687ee209ef42a55c3e (patch) | |
| tree | 77310f66c1d1d703ae9b8723d8aa0b6e2ce3dfe0 /src/server/database | |
| parent | e8730061530cba48703508297dedc8aeb49681b1 (diff) | |
Core/Spells: Implemented RPPM proc effects
Closes #17001
Diffstat (limited to 'src/server/database')
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.cpp | 10 | ||||
| -rw-r--r-- | src/server/database/Database/Implementation/HotfixDatabase.h | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/server/database/Database/Implementation/HotfixDatabase.cpp b/src/server/database/Database/Implementation/HotfixDatabase.cpp index 3bf770ba2db..6749300000b 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.cpp +++ b/src/server/database/Database/Implementation/HotfixDatabase.cpp @@ -15,6 +15,9 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ + // DO NOT EDIT! + // Autogenerated from DB2Structure.h + #include "HotfixDatabase.h" // Force locale statments to appear exactly in locale declaration order, right after normal data fetch statement @@ -440,6 +443,13 @@ void HotfixDatabaseConnection::DoPrepareStatements() PrepareStatement(HOTFIX_SEL_SPELL_POWER_DIFFICULTY, "SELECT SpellPowerID, DifficultyID, PowerIndex FROM spell_power_difficulty" " ORDER BY SpellPowerID DESC", CONNECTION_SYNCH); + // SpellProcsPerMinute.db2 + PrepareStatement(HOTFIX_SEL_SPELL_PROCS_PER_MINUTE, "SELECT ID, BaseProcRate, Flags FROM spell_procs_per_minute ORDER BY ID DESC", CONNECTION_SYNCH); + + // SpellProcsPerMinuteMod.db2 + PrepareStatement(HOTFIX_SEL_SPELL_PROCS_PER_MINUTE_MOD, "SELECT ID, Type, Param, Coeff, SpellProcsPerMinuteID FROM spell_procs_per_minute_mod" + " ORDER BY ID DESC", CONNECTION_SYNCH); + // SpellRadius.db2 PrepareStatement(HOTFIX_SEL_SPELL_RADIUS, "SELECT ID, Radius, RadiusPerLevel, RadiusMin, RadiusMax FROM spell_radius ORDER BY ID DESC", CONNECTION_SYNCH); diff --git a/src/server/database/Database/Implementation/HotfixDatabase.h b/src/server/database/Database/Implementation/HotfixDatabase.h index 438485156d5..999c9316dad 100644 --- a/src/server/database/Database/Implementation/HotfixDatabase.h +++ b/src/server/database/Database/Implementation/HotfixDatabase.h @@ -15,6 +15,9 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ + // DO NOT EDIT! + // Autogenerated from DB2Structure.h + #ifndef _HOTFIXDATABASE_H #define _HOTFIXDATABASE_H @@ -242,6 +245,10 @@ enum HotfixDatabaseStatements HOTFIX_SEL_SPELL_POWER_DIFFICULTY, + HOTFIX_SEL_SPELL_PROCS_PER_MINUTE, + + HOTFIX_SEL_SPELL_PROCS_PER_MINUTE_MOD, + HOTFIX_SEL_SPELL_RADIUS, HOTFIX_SEL_SPELL_RANGE, |
