mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
[8333] Move sql updates related to 0.13 release to sql/updates/0.13
You can still used its (for example to upgrade DB from 0.12 state) but its will not included in installed sql updates list at Unix/Linus for speedup 'make install'.
This commit is contained in:
parent
175d1c5551
commit
a2b952b15e
189 changed files with 1 additions and 375 deletions
|
|
@ -1,9 +0,0 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_7902_02_mangos_pool_gameobject required_7904_01_mangos_creature_template bit;
|
||||
|
||||
ALTER TABLE creature_template
|
||||
ADD COLUMN dmg_multiplier float NOT NULL default '1' AFTER attackpower;
|
||||
|
||||
UPDATE creature_template SET mindmg = round(mindmg + attackpower / 14);
|
||||
UPDATE creature_template SET maxdmg = round(maxdmg + attackpower / 14);
|
||||
UPDATE creature_template SET attackpower = round((maxdmg + mindmg) * 0.3);
|
||||
UPDATE creature_template SET mindmg = round(mindmg * 0.7), maxdmg = round(maxdmg * 0.7);
|
||||
Loading…
Add table
Add a link
Reference in a new issue