mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9735] Fix proc for 53709 and ranks
Signed-off-by: Laise <fenrisse@gmail.com>
This commit is contained in:
parent
35fbdd90f3
commit
9a0de445b8
6 changed files with 24 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_9728_01_mangos_gossip_menu_option` bit(1) default NULL
|
||||
`required_9735_02_mangos_spell_chain` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -16070,6 +16070,10 @@ INSERT INTO spell_chain VALUES
|
|||
/*Spiritual Attunement*/
|
||||
(31785,0,31785,1,0),
|
||||
(33776,31785,31785,2,0),
|
||||
/*Shield of the Templar*/
|
||||
(53709,0,53709,1,0),
|
||||
(53710,53709,53709,2,0),
|
||||
(53711,53710,53709,3,0),
|
||||
/*------------------
|
||||
--(270)Pet-GenericHunter
|
||||
------------------*/
|
||||
|
|
@ -18529,6 +18533,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(53646, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(53671, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(53673, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(53709, 0x00000000, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000100, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(53817, 0x00000000, 11, 0x000001C3, 0x00008000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(54149, 0x00000000, 10, 0x00200000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(54151, 0x00000000, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
|
|
|
|||
5
sql/updates/9735_01_mangos_spell_proc_event.sql
Normal file
5
sql/updates/9735_01_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9728_01_mangos_gossip_menu_option required_9735_01_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM spell_proc_event WHERE entry IN (53709, 53710, 53711);
|
||||
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
|
||||
(53709, 0x00000000, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000100, 0x00000000, 0.000000, 0.000000, 0);
|
||||
7
sql/updates/9735_02_mangos_spell_chain.sql
Normal file
7
sql/updates/9735_02_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9735_01_mangos_spell_proc_event required_9735_02_mangos_spell_chain bit;
|
||||
|
||||
DELETE FROM `spell_chain` WHERE `spell_id` IN (53709, 53710, 53711);
|
||||
INSERT INTO `spell_chain` (`spell_id`, `prev_spell`, `first_spell`, `rank`, `req_spell`) VALUES
|
||||
('53709', '0', '53709', '1', '0'),
|
||||
('53710', '53709', '53709','2', '0'),
|
||||
('53711', '53710', '53709', '3', '0');
|
||||
|
|
@ -116,6 +116,8 @@ pkgdata_DATA = \
|
|||
9716_02_mangos_mangos_string.sql \
|
||||
9720_01_mangos_spell_proc_event.sql \
|
||||
9728_01_mangos_gossip_menu_option.sql \
|
||||
9735_01_mangos_spell_proc_event.sql \
|
||||
9735_02_mangos_spell_chain.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -212,4 +214,6 @@ EXTRA_DIST = \
|
|||
9716_02_mangos_mangos_string.sql \
|
||||
9720_01_mangos_spell_proc_event.sql \
|
||||
9728_01_mangos_gossip_menu_option.sql \
|
||||
9735_01_mangos_spell_proc_event.sql \
|
||||
9735_02_mangos_spell_chain.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9734"
|
||||
#define REVISION_NR "9735"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_9702_01_characters_item"
|
||||
#define REVISION_DB_MANGOS "required_9728_01_mangos_gossip_menu_option"
|
||||
#define REVISION_DB_MANGOS "required_9735_02_mangos_spell_chain"
|
||||
#define REVISION_DB_REALMD "required_9010_01_realmd_realmlist"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue