forked from cmangos/mangos-cata
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spell: Move SpellShapeshift DBC into database
- Loading branch information
Showing
11 changed files
with
1,146 additions
and
122 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER TABLE spell_template ADD `Stances` INT UNSIGNED NOT NULL DEFAULT '0' AFTER AttributesEx10; | ||
ALTER TABLE spell_template ADD `StancesNot` INT UNSIGNED NOT NULL DEFAULT '0' AFTER Stances; | ||
|
||
UPDATE spell_template INNER JOIN spell_shapeshift ON (spell_template.SpellShapeshiftId = spell_shapeshift.Id) SET spell_template.Stances = ABS(spell_shapeshift.Stances); | ||
UPDATE spell_template INNER JOIN spell_shapeshift ON (spell_template.SpellShapeshiftId = spell_shapeshift.Id) SET spell_template.StancesNot = ABS(spell_shapeshift.StancesNot); | ||
|
||
|
||
ALTER TABLE spell_template DROP COLUMN SpellShapeshiftId; | ||
|
||
DROP TABLE spell_shapeshift; |
Oops, something went wrong.