mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
4 lines
No EOL
279 B
SQL
4 lines
No EOL
279 B
SQL
update creature_template set attackpower = round((maxdmg + mindmg) / 4 * 7);
|
|
update creature_template set mindmg = round(mindmg - attackpower / 7);
|
|
update creature_template set maxdmg = round(maxdmg - attackpower / 7);
|
|
update creature_template set mindmg = 1 where mindmg < 1; |