Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[11200] Move hard-coded AP coefficients for spells 1776, 8680, 13218 …
…and ranks to spell_bonus_data table.
- Loading branch information
Showing
6 changed files
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
ALTER TABLE db_version CHANGE COLUMN required_11190_01_mangos_pool_creature_template required_11200_01_mangos_spell_bonus_data bit; | ||
|
||
DELETE FROM spell_bonus_data WHERE entry IN (1776, 8680, 13218); | ||
INSERT INTO spell_bonus_data VALUES | ||
(1776, 0, 0, 0.21, 0, 'Rogue - Gouge'), | ||
(8680, 0, 0, 0.10, 0, 'Rogue - Instant Poison'), | ||
(13218, 0, 0, 0.04, 0, 'Rogue - Wound Poison'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "11199" | ||
#define REVISION_NR "11200" | ||
#endif // __REVISION_NR_H__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#ifndef __REVISION_SQL_H__ | ||
#define __REVISION_SQL_H__ | ||
#define REVISION_DB_CHARACTERS "required_11117_02_characters_world" | ||
#define REVISION_DB_MANGOS "required_11190_01_mangos_pool_gameobject_template" | ||
#define REVISION_DB_MANGOS "required_11200_01_mangos_spell_bonus_data" | ||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" | ||
#endif // __REVISION_SQL_H__ |
1 comment
on commit 2f3da34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not typo but git_id tool go crazy after my wrong sql updates named in [11190]. It fixed now in [11201] and in next slq updates will work correctly.
At least until my next use wrong sql update names in commit ;)
In any case thank you for pointing :)
fixed the missing ';' here: 4bd343f