mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
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'.
9 lines
553 B
SQL
9 lines
553 B
SQL
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);
|