mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
[7024] Add gathering skill grow bonus spell chanin data. Sort prof. spell chain data by skill ids as other spells.
This commit is contained in:
parent
76997d823e
commit
f50083928a
4 changed files with 237 additions and 141 deletions
309
sql/mangos.sql
309
sql/mangos.sql
|
|
@ -22,7 +22,7 @@
|
|||
DROP TABLE IF EXISTS `db_version`;
|
||||
CREATE TABLE `db_version` (
|
||||
`version` varchar(120) default NULL,
|
||||
`required_7015_01_mangos_item_template` bit(1) default NULL
|
||||
`required_7024_01_mangos_spell_chain` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -13466,6 +13466,16 @@ INSERT INTO spell_chain VALUES
|
|||
(48159,34917,34914,4,0),
|
||||
(48160,48159,34914,5,0),
|
||||
/*------------------
|
||||
-- (129) First Aid
|
||||
------------------*/
|
||||
/*First Aid*/
|
||||
(3273,0,3273,1,0),
|
||||
(3274,3273,3273,2,0),
|
||||
(7924,3274,3273,3,0),
|
||||
(10846,7924,3273,4,0),
|
||||
(27028,10846,3273,5,0),
|
||||
(45542,27028,3273,6,0),
|
||||
/*------------------
|
||||
-- (134) Feral Combat (Druid)
|
||||
------------------*/
|
||||
/*Bash*/
|
||||
|
|
@ -13691,6 +13701,64 @@ INSERT INTO spell_chain VALUES
|
|||
(58431,27022,1510,5,0),
|
||||
(58434,58431,1510,6,0),
|
||||
/*------------------
|
||||
-- (164) Blacksmithing
|
||||
------------------*/
|
||||
/*Blacksmithing*/
|
||||
(2018,0,2018,1,0),
|
||||
(3100,2018,2018,2,0),
|
||||
(3538,3100,2018,3,0),
|
||||
(9785,3538,2018,4,0),
|
||||
(9787,9785,2018,5,0),
|
||||
(9788,9785,2018,5,0),
|
||||
(29844,9785,2018,5,0),
|
||||
(17039,9787,2018,6,0),
|
||||
(17040,9787,2018,6,0),
|
||||
(17041,9787,2018,6,0),
|
||||
(51300,29844,2018,6,0),
|
||||
/*------------------
|
||||
-- (165) Leatherworking
|
||||
------------------*/
|
||||
/*Leatherworking*/
|
||||
(2108,0,2108,1,0),
|
||||
(3104,2108,2108,2,0),
|
||||
(3811,3104,2108,3,0),
|
||||
(10662,3811,2108,4,0),
|
||||
(10656,10662,2108,5,0),
|
||||
(10658,10662,2108,5,0),
|
||||
(10660,10662,2108,5,0),
|
||||
(32549,10662,2108,5,0),
|
||||
(51302,32549,2108,6,0),
|
||||
/*------------------
|
||||
-- (171) Alchemy
|
||||
------------------*/
|
||||
/* Alchemy */
|
||||
(2259,0,2259,1,0),
|
||||
(3101,2259,2259,2,0),
|
||||
(3464,3101,2259,3,0),
|
||||
(11611,3464,2259,4,0),
|
||||
(28596,11611,2259,5,0),
|
||||
(28672,11611,2259,5,0),
|
||||
(28675,11611,2259,5,0),
|
||||
(28677,11611,2259,5,0),
|
||||
(51304,28596,2259,6,0),
|
||||
/*------------------
|
||||
-- (182) Herbalizm
|
||||
------------------*/
|
||||
/*Herb Gathering*/
|
||||
(2366,0,2366,1,0),
|
||||
(2368,2366,2366,2,0),
|
||||
(3570,2368,2366,3,0),
|
||||
(11993,3570,2366,4,0),
|
||||
(28695,11993,2366,5,0),
|
||||
(50300,28695,2366,6,0),
|
||||
/*Lifeblood*/
|
||||
(55428,0,55428,1,0),
|
||||
(55480,55428,55428,2,0),
|
||||
(55500,55480,55428,3,0),
|
||||
(55501,55500,55428,4,0),
|
||||
(55502,55501,55428,5,0),
|
||||
(55503,55502,55428,6,0),
|
||||
/*------------------
|
||||
-- (184) Retribution (Paladin)
|
||||
------------------*/
|
||||
/*Blessingof Might*/
|
||||
|
|
@ -13726,6 +13794,33 @@ INSERT INTO spell_chain VALUES
|
|||
(27150,10301,7294,6,0),
|
||||
(54043,27150,7294,7,0),
|
||||
/*------------------
|
||||
-- (185) Cooking
|
||||
------------------*/
|
||||
/*Cooking*/
|
||||
(2550,0,2550,1,0),
|
||||
(3102,2550,2550,2,0),
|
||||
(3413,3102,2550,3,0),
|
||||
(18260,3413,2550,4,0),
|
||||
(33359,18260,2550,5,0),
|
||||
(51296,33359,2550,6,0),
|
||||
/*------------------
|
||||
-- (186) Mining
|
||||
------------------*/
|
||||
/*Mining*/
|
||||
(2575,0,2575,1,0),
|
||||
(2576,2575,2575,2,0),
|
||||
(3564,2576,2575,3,0),
|
||||
(10248,3564,2575,4,0),
|
||||
(29354,10248,2575,5,0),
|
||||
(50310,29354,2575,6,0),
|
||||
/*Toughness*/
|
||||
(53120,0,53120,1,0),
|
||||
(53121,53120,53120,2,0),
|
||||
(53122,53121,53120,3,0),
|
||||
(53123,53122,53120,4,0),
|
||||
(53124,53123,53120,5,0),
|
||||
(53040,53124,53120,6,0),
|
||||
/*------------------
|
||||
-- (188) Pet - Imp
|
||||
------------------*/
|
||||
/*Blood Pact*/
|
||||
|
|
@ -13775,6 +13870,19 @@ INSERT INTO spell_chain VALUES
|
|||
(19244,0,19244,1,0),
|
||||
(19647,19244,19244,2,0),
|
||||
/*------------------
|
||||
-- (197) Tailoring
|
||||
------------------*/
|
||||
/*Tailoring*/
|
||||
(3908,0,3908,1,0),
|
||||
(3909,3908,3908,2,0),
|
||||
(3910,3909,3908,3,0),
|
||||
(12180,3910,3908,4,0),
|
||||
(26790,12180,3908,5,0),
|
||||
(26797,12180,3908,5,0),
|
||||
(26798,12180,3908,5,0),
|
||||
(26801,12180,3908,5,0),
|
||||
(51309,26790,3908,6,0);
|
||||
/*------------------
|
||||
--(203)Pet-Spider
|
||||
--(208)Pet-Wolf
|
||||
--(212)Pet-Crocolisk
|
||||
|
|
@ -13796,6 +13904,18 @@ INSERT INTO spell_chain VALUES
|
|||
(52473,27050,17253,10,0),
|
||||
(52474,52473,17253,11,0),
|
||||
/*------------------
|
||||
-- (202) Engineering
|
||||
------------------*/
|
||||
/*Engineering*/
|
||||
(4036,0,4036,1,0),
|
||||
(4037,4036,4036,2,0),
|
||||
(4038,4037,4036,3,0),
|
||||
(12656,4038,4036,4,0),
|
||||
(20219,12656,4036,5,0),
|
||||
(20222,12656,4036,5,0),
|
||||
(30350,12656,4036,5,0),
|
||||
(51306,30350,4036,6,0),
|
||||
/*------------------
|
||||
-- (204) Pet - Voidwalker
|
||||
------------------*/
|
||||
/*Consume Shadows*/
|
||||
|
|
@ -14339,6 +14459,16 @@ INSERT INTO spell_chain VALUES
|
|||
(27047,14921,2649,8,0),
|
||||
(61676,27047,2649,9,0),
|
||||
/*------------------
|
||||
-- (333) Enchanting
|
||||
------------------*/
|
||||
/*Enchanting*/
|
||||
(7411,0,7411,1,0),
|
||||
(7412,7411,7411,2,0),
|
||||
(7413,7412,7411,3,0),
|
||||
(13920,7413,7411,4,0),
|
||||
(28029,13920,7411,5,0),
|
||||
(51313,28029,7411,6,0),
|
||||
/*------------------
|
||||
--(354)Demonology
|
||||
------------------*/
|
||||
/*Banish*/
|
||||
|
|
@ -14536,6 +14666,16 @@ INSERT INTO spell_chain VALUES
|
|||
(47841,30405,30108,4,0),
|
||||
(47843,47841,30108,5,0),
|
||||
/*------------------
|
||||
-- (356) Fishing
|
||||
------------------*/
|
||||
/*Fishing*/
|
||||
(7620,0,7620,1,0),
|
||||
(7731,7620,7620,2,0),
|
||||
(7732,7731,7620,3,0),
|
||||
(18248,7732,7620,4,0),
|
||||
(33095,18248,7620,5,0),
|
||||
(51294,33095,7620,6,0),
|
||||
/*------------------
|
||||
--(373) Enhancement
|
||||
------------------*/
|
||||
/*Fire Resistance Totem*/
|
||||
|
|
@ -14848,6 +14988,23 @@ INSERT INTO spell_chain VALUES
|
|||
(59158,59156,51490,3,0),
|
||||
(59159,59158,51490,4,0),
|
||||
/*------------------
|
||||
-- (393) Skinning
|
||||
------------------*/
|
||||
/*Skinning*/
|
||||
(8613,0,8613,1,0),
|
||||
(8617,8613,8613,2,0),
|
||||
(8618,8617,8613,3,0),
|
||||
(10768,8618,8613,4,0),
|
||||
(32678,10768,8613,5,0),
|
||||
(50305,32678,8613,6,0),
|
||||
/*Master of Anatomy*/
|
||||
(53125,0,53125,1,0),
|
||||
(53662,53125,53125,2,0),
|
||||
(53663,53662,53125,3,0),
|
||||
(53664,53663,53125,4,0),
|
||||
(53665,53664,53125,5,0),
|
||||
(53666,53665,53125,6,0),
|
||||
/*------------------
|
||||
--(573)Restoration
|
||||
------------------*/
|
||||
/*GiftoftheWild*/
|
||||
|
|
@ -15350,6 +15507,16 @@ INSERT INTO spell_chain VALUES
|
|||
(25011,25010,24844,5,0),
|
||||
(25012,25011,24844,6,0),
|
||||
/*------------------
|
||||
-- (755) Jewelcrafting
|
||||
------------------*/
|
||||
/*Jewelcrafting*/
|
||||
(25229,0,25229,1,0),
|
||||
(25230,25229,25229,2,0),
|
||||
(28894,25230,25229,3,0),
|
||||
(28895,28894,25229,4,0),
|
||||
(28897,28895,25229,5,0),
|
||||
(51311,28897,25229,6,0),
|
||||
/*------------------
|
||||
--(761)Pet-Felguard
|
||||
------------------*/
|
||||
/*Anguish*/
|
||||
|
|
@ -15368,6 +15535,14 @@ INSERT INTO spell_chain VALUES
|
|||
(30198,30194,30151,3,0),
|
||||
(47996,30198,30151,4,0),
|
||||
/*------------------
|
||||
-- (762) Riding
|
||||
------------------*/
|
||||
/*Riding*/
|
||||
(33388,0,33388,1,0),
|
||||
(33391,33388,33388,2,0),
|
||||
(34090,33391,33388,3,0),
|
||||
(34091,34090,33388,4,0),
|
||||
/*------------------
|
||||
--(763)Pet-Dragonhawk
|
||||
------------------*/
|
||||
/*FireBreath*/
|
||||
|
|
@ -15534,6 +15709,16 @@ INSERT INTO spell_chain VALUES
|
|||
(51378,51376,49194,3,0),
|
||||
(51379,51378,49194,4,0),
|
||||
/*------------------
|
||||
-- (773) Inscription
|
||||
------------------*/
|
||||
/*Inscription*/
|
||||
(45357,0,45357,1,0),
|
||||
(45358,45357,45357,2,0),
|
||||
(45359,45358,45357,3,0),
|
||||
(45360,45359,45357,4,0),
|
||||
(45361,45360,45357,5,0),
|
||||
(45363,45361,45357,6,0),
|
||||
/*------------------
|
||||
--(780)Pet-ExoticChimaera
|
||||
------------------*/
|
||||
/*FroststormBreath*/
|
||||
|
|
@ -15593,128 +15778,6 @@ INSERT INTO spell_chain VALUES
|
|||
(61196,61195,61193,4,0),
|
||||
(61197,61196,61193,5,0),
|
||||
(61198,61197,61193,6,0),
|
||||
/*------------------
|
||||
--Professions
|
||||
------------------*/
|
||||
/*Alchemy*/
|
||||
(2259,0,2259,1,0),
|
||||
(3101,2259,2259,2,0),
|
||||
(3464,3101,2259,3,0),
|
||||
(11611,3464,2259,4,0),
|
||||
(28596,11611,2259,5,0),
|
||||
(28672,11611,2259,5,0),
|
||||
(28675,11611,2259,5,0),
|
||||
(28677,11611,2259,5,0),
|
||||
(51304,28596,2259,6,0),
|
||||
/*Blacksmithing*/
|
||||
(2018,0,2018,1,0),
|
||||
(3100,2018,2018,2,0),
|
||||
(3538,3100,2018,3,0),
|
||||
(9785,3538,2018,4,0),
|
||||
(9787,9785,2018,5,0),
|
||||
(9788,9785,2018,5,0),
|
||||
(29844,9785,2018,5,0),
|
||||
(17039,9787,2018,6,0),
|
||||
(17040,9787,2018,6,0),
|
||||
(17041,9787,2018,6,0),
|
||||
(51300,29844,2018,6,0),
|
||||
/*Cooking*/
|
||||
(2550,0,2550,1,0),
|
||||
(3102,2550,2550,2,0),
|
||||
(3413,3102,2550,3,0),
|
||||
(18260,3413,2550,4,0),
|
||||
(33359,18260,2550,5,0),
|
||||
(51296,33359,2550,6,0),
|
||||
/*Enchanting*/
|
||||
(7411,0,7411,1,0),
|
||||
(7412,7411,7411,2,0),
|
||||
(7413,7412,7411,3,0),
|
||||
(13920,7413,7411,4,0),
|
||||
(28029,13920,7411,5,0),
|
||||
(51313,28029,7411,6,0),
|
||||
/*Engineering*/
|
||||
(4036,0,4036,1,0),
|
||||
(4037,4036,4036,2,0),
|
||||
(4038,4037,4036,3,0),
|
||||
(12656,4038,4036,4,0),
|
||||
(20219,12656,4036,5,0),
|
||||
(20222,12656,4036,5,0),
|
||||
(30350,12656,4036,5,0),
|
||||
(51306,30350,4036,6,0),
|
||||
/*First Aid*/
|
||||
(3273,0,3273,1,0),
|
||||
(3274,3273,3273,2,0),
|
||||
(7924,3274,3273,3,0),
|
||||
(10846,7924,3273,4,0),
|
||||
(27028,10846,3273,5,0),
|
||||
(45542,27028,3273,6,0),
|
||||
/*Fishing*/
|
||||
(7620,0,7620,1,0),
|
||||
(7731,7620,7620,2,0),
|
||||
(7732,7731,7620,3,0),
|
||||
(18248,7732,7620,4,0),
|
||||
(33095,18248,7620,5,0),
|
||||
(51294,33095,7620,6,0),
|
||||
/*Herb Gathering*/
|
||||
(2366,0,2366,1,0),
|
||||
(2368,2366,2366,2,0),
|
||||
(3570,2368,2366,3,0),
|
||||
(11993,3570,2366,4,0),
|
||||
(28695,11993,2366,5,0),
|
||||
(50300,28695,2366,6,0),
|
||||
/*Inscription*/
|
||||
(45357,0,45357,1,0),
|
||||
(45358,45357,45357,2,0),
|
||||
(45359,45358,45357,3,0),
|
||||
(45360,45359,45357,4,0),
|
||||
(45361,45360,45357,5,0),
|
||||
(45363,45361,45357,6,0),
|
||||
/*Jewelcrafting*/
|
||||
(25229,0,25229,1,0),
|
||||
(25230,25229,25229,2,0),
|
||||
(28894,25230,25229,3,0),
|
||||
(28895,28894,25229,4,0),
|
||||
(28897,28895,25229,5,0),
|
||||
(51311,28897,25229,6,0),
|
||||
/*Leatherworking*/
|
||||
(2108,0,2108,1,0),
|
||||
(3104,2108,2108,2,0),
|
||||
(3811,3104,2108,3,0),
|
||||
(10662,3811,2108,4,0),
|
||||
(10656,10662,2108,5,0),
|
||||
(10658,10662,2108,5,0),
|
||||
(10660,10662,2108,5,0),
|
||||
(32549,10662,2108,5,0),
|
||||
(51302,32549,2108,6,0),
|
||||
/*Mining*/
|
||||
(2575,0,2575,1,0),
|
||||
(2576,2575,2575,2,0),
|
||||
(3564,2576,2575,3,0),
|
||||
(10248,3564,2575,4,0),
|
||||
(29354,10248,2575,5,0),
|
||||
(50310,29354,2575,6,0),
|
||||
/*Riding*/
|
||||
(33388,0,33388,1,0),
|
||||
(33391,33388,33388,2,0),
|
||||
(34090,33391,33388,3,0),
|
||||
(34091,34090,33388,4,0),
|
||||
/*Skinning*/
|
||||
(8613,0,8613,1,0),
|
||||
(8617,8613,8613,2,0),
|
||||
(8618,8617,8613,3,0),
|
||||
(10768,8618,8613,4,0),
|
||||
(32678,10768,8613,5,0),
|
||||
(50305,32678,8613,6,0),
|
||||
/*Tailoring*/
|
||||
(3908,0,3908,1,0),
|
||||
(3909,3908,3908,2,0),
|
||||
(3910,3909,3908,3,0),
|
||||
(12180,3910,3908,4,0),
|
||||
(26790,12180,3908,5,0),
|
||||
(26797,12180,3908,5,0),
|
||||
(26798,12180,3908,5,0),
|
||||
(26801,12180,3908,5,0),
|
||||
(51309,26790,3908,6,0);
|
||||
/*!40000 ALTER TABLE `spell_chain` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
|
|
|||
31
sql/updates/7024_01_mangos_spell_chain.sql
Normal file
31
sql/updates/7024_01_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_7015_01_mangos_item_template required_7024_01_mangos_spell_chain bit;
|
||||
|
||||
/* Lifeblood (Herbalizm) */
|
||||
DELETE FROM `spell_chain` WHERE `spell_id` IN (55428,55480,55500,55501,55502,55503);
|
||||
INSERT INTO `spell_chain` VALUES
|
||||
(55428,0,55428,1,0),
|
||||
(55480,55428,55428,2,0),
|
||||
(55500,55480,55428,3,0),
|
||||
(55501,55500,55428,4,0),
|
||||
(55502,55501,55428,5,0),
|
||||
(55503,55502,55428,6,0);
|
||||
|
||||
/* Toughness (Mining) */
|
||||
DELETE FROM `spell_chain` WHERE `spell_id` IN (53120,53121,53122,53123,53124,53040);
|
||||
INSERT INTO `spell_chain` VALUES
|
||||
(53120,0,53120,1,0),
|
||||
(53121,53120,53120,2,0),
|
||||
(53122,53121,53120,3,0),
|
||||
(53123,53122,53120,4,0),
|
||||
(53124,53123,53120,5,0),
|
||||
(53040,53124,53120,6,0);
|
||||
|
||||
/* Master of Anatomy (Skinning) */
|
||||
DELETE FROM `spell_chain` WHERE `spell_id` IN (53125,53662,53663,53664,53665,53666);
|
||||
INSERT INTO `spell_chain` VALUES
|
||||
(53125,0,53125,1,0),
|
||||
(53662,53125,53125,2,0),
|
||||
(53663,53662,53125,3,0),
|
||||
(53664,53663,53125,4,0),
|
||||
(53665,53664,53125,5,0),
|
||||
(53666,53665,53125,6,0);
|
||||
|
|
@ -109,6 +109,7 @@ pkgdata_DATA = \
|
|||
6976_02_characters_character_db_version.sql \
|
||||
7002_01_mangos_spell_chain.sql \
|
||||
7015_01_mangos_item_template.sql \
|
||||
7024_01_mangos_spell_chain.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -198,4 +199,5 @@ EXTRA_DIST = \
|
|||
6976_02_characters_character_db_version.sql \
|
||||
7002_01_mangos_spell_chain.sql \
|
||||
7015_01_mangos_item_template.sql \
|
||||
7024_01_mangos_spell_chain.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7023"
|
||||
#define REVISION_NR "7024"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue