[8030] Fixed spell 64901 work and related target selection code refactoring. Author: VladimirMangos
* Replace 64904 by 64901 in spellbook and action bars.
* Implement proper max mana percent buff
* Implement proper target selection.
* Move group/raid targets seelction code to functions for reuse code.
--HG--
branch : trunk
This commit is contained in:
1 parent
7e4fcb1793
commit
a2f10c496f
8 files changed
+144
-33
No files matched your search
@@ -0,0 +1,7 @@
|
||||
-- ALTER TABLE character_db_version CHANGE COLUMN required_7988_07_characters_characters required_8030_01_characters_character_spell bit;
|
||||
|
||||
UPDATE IGNORE character_spell
|
||||
SET spell = 64901
|
||||
WHERE spell = 64904;
|
||||
|
||||
DELETE FROM character_spell WHERE spell = 64904;
|
||||
@@ -0,0 +1,5 @@
|
||||
-- ALTER TABLE character_db_version CHANGE COLUMN required_8030_01_characters_character_spell required_8030_02_characters_character_action bit;
|
||||
|
||||
UPDATE character_action
|
||||
SET action = 64901
|
||||
WHERE action = 64904 AND type = '0';
|
||||
@@ -0,0 +1,2 @@
|
||||
-- ALTER TABLE db_version CHANGE COLUMN required_8021_01_mangos_spell_proc_event required_8030_03_mangos_npc_trainer bit;
|
||||
|
||||
Reference in new issue
Block a user