mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 04:37:02 +00:00
[8237] Apply attack power multiplier to creature bonus attackpower.
Note: mindmg/maxdmg in creature_template expected including attackpower part in its. attackpower field only show part of attackpower not affected by AP multiplier. Thanks also to Seizer for take part in reseach and patch review. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
6b2b58cec9
commit
e947acd59c
5 changed files with 11 additions and 3 deletions
4
sql/updates/8237_01_mangos_creature_template.sql
Normal file
4
sql/updates/8237_01_mangos_creature_template.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8227_01_mangos_spell_proc_event required_8237_01_mangos_creature_template bit;
|
||||
|
||||
UPDATE creature_template
|
||||
SET mindmg = ROUND(mindmg + attackpower), maxdmg=ROUND(maxdmg+attackpower);
|
||||
Loading…
Add table
Add a link
Reference in a new issue