[9133] Fixes in talent 11129 work.
[getmangos.git] / sql / updates / 0.8 / 4205_creature_template.sql
blob84a65b400cf1844a8cd46ecc99ae817ce34bdaef
1 update creature_template set attackpower = round((maxdmg + mindmg) / 4 * 7);
2 update creature_template set mindmg =  round(mindmg - attackpower / 7);
3 update creature_template set maxdmg  =  round(maxdmg - attackpower / 7);
4 update creature_template set mindmg = 1 where mindmg < 1;