[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:
Lynx3d 2009-07-24 16:48:44 +04:00 committed by VladimirMangos
parent 6b2b58cec9
commit e947acd59c
5 changed files with 11 additions and 3 deletions

View 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);