Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12949] Cleanup mangle ranks and reset talents for druids
Resolves issue with disappearing mangle ranks for existing characters, core is able to sort it out after talent reset automatically.
- Loading branch information
1 parent
e2075f5
commit bd33552
Showing
3 changed files
with
7 additions
and
3 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
4 changes: 4 additions & 0 deletions
4
sql/updates/characters/12949_01_characters_mangle_cleanup.sql
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,4 @@ | ||
ALTER TABLE character_db_version CHANGE COLUMN required_12942_01_characters_reset_talents required_12949_01_characters_mangle_cleanup bit; | ||
|
||
UPDATE characters as c JOIN character_spell as cs ON c.guid = cs.guid SET c.at_login = c.at_login | 4 WHERE cs.spell in (33876,33878,33982,33983,33986,33987,48563,48564,48565,48566); | ||
DELETE FROM character_spell WHERE spell in (33876,33878,33982,33983,33986,33987,48563,48564,48565,48566); |
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_REALMD "required_c12484_02_realmd_account_access" | ||
#define REVISION_DB_CHARACTERS "required_12942_01_characters_reset_talents" | ||
#define REVISION_DB_CHARACTERS "required_12949_01_characters_mangle_cleanup" | ||
#define REVISION_DB_MANGOS "required_12948_04_mangos_npc_trainer_template" | ||
#endif // __REVISION_SQL_H__ |