1 ALTER TABLE db_version CHANGE COLUMN required_7902_02_mangos_pool_gameobject required_7904_01_mangos_creature_template bit;
3 ALTER TABLE creature_template
4 ADD COLUMN dmg_multiplier float NOT NULL default '1' AFTER attackpower;
6 UPDATE creature_template SET mindmg = round(mindmg + attackpower / 14);
7 UPDATE creature_template SET maxdmg = round(maxdmg + attackpower / 14);
8 UPDATE creature_template SET attackpower = round((maxdmg + mindmg) * 0.3);
9 UPDATE creature_template SET mindmg = round(mindmg * 0.7), maxdmg = round(maxdmg * 0.7);