mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[10786] A bit spell proc housekeeping
* PPM values for enchanting spells 13898, 20029, 20032, 44524, 44576 * Correct cooldown for enchanting spell 59625 * Add procEx and cooldown for item 50198
This commit is contained in:
parent
d266db672d
commit
28ccd9975d
6 changed files with 30 additions and 5 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_10764_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
`required_10786_02_mangos_spell_proc_event` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -17331,7 +17331,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(59176, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0),
|
||||
(59327, 0x00, 15, 0x08000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(59345, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
(59630, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
(59630, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 35),
|
||||
(59725, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000800, 0.000000, 0.000000, 0),
|
||||
(60061, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
(60063, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
|
|
@ -17422,6 +17422,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(71217, 0x00, 11, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(71226, 0x00, 15, 0x00000010, 0x00000000, 0x00000000, 0x08020000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(71228, 0x00, 15, 0x00000000, 0x00000000, 0x00000000, 0x20000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(71404, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 50),
|
||||
(71406, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000,45.000000, 0),
|
||||
(71545, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000,45.000000, 0),
|
||||
(71611, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
|
|
@ -17452,7 +17453,12 @@ LOCK TABLES `spell_proc_item_enchant` WRITE;
|
|||
INSERT INTO `spell_proc_item_enchant` (`entry`, `ppmRate`) VALUES
|
||||
(8034, 9), -- Frostbrand Weapon
|
||||
(8680, 8.5714), -- Instant Poison
|
||||
(13218, 21.4286); -- Wound Poison
|
||||
(13218, 21.4286), -- Wound Poison
|
||||
(13897, 6.0), -- Enchant Weapon - Fiery Weapon
|
||||
(20004, 6.0), -- Enchant Weapon - Lifestealing
|
||||
(20005, 1.6), -- Enchant Weapon - Icy Chill
|
||||
(44525, 3.4), -- Enchant Weapon - Icebreaker
|
||||
(44578, 3.4); -- Enchant Weapon - Lifeward
|
||||
/*!40000 ALTER TABLE `spell_proc_item_enchant` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
|
|
|
|||
9
sql/updates/10786_01_mangos_spell_proc_item_enchant.sql
Normal file
9
sql/updates/10786_01_mangos_spell_proc_item_enchant.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_10764_01_mangos_spell_proc_event required_10786_01_mangos_spell_proc_item_enchant bit;
|
||||
|
||||
DELETE FROM spell_proc_item_enchant WHERE entry IN (13897, 20004, 20005, 44525, 44578);
|
||||
INSERT INTO spell_proc_item_enchant VALUES
|
||||
(13897, 6.0), -- Enchant Weapon - Fiery Weapon
|
||||
(20004, 6.0), -- Enchant Weapon - Lifestealing
|
||||
(20005, 1.6), -- Enchant Weapon - Icy Chill
|
||||
(44525, 3.4), -- Enchant Weapon - Icebreaker
|
||||
(44578, 3.4); -- Enchant Weapon - Lifeward
|
||||
6
sql/updates/10786_02_mangos_spell_proc_event.sql
Normal file
6
sql/updates/10786_02_mangos_spell_proc_event.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_10786_01_mangos_spell_proc_item_enchant required_10786_02_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM spell_proc_event WHERE entry IN (59630,71404);
|
||||
INSERT INTO spell_proc_event VALUES
|
||||
(59630, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 35),
|
||||
(71404, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 50);
|
||||
|
|
@ -125,6 +125,8 @@ pkgdata_DATA = \
|
|||
10749_01_mangos_mangos_string.sql \
|
||||
10762_01_mangos_spell_proc_event.sql \
|
||||
10764_01_mangos_spell_proc_event.sql \
|
||||
10786_01_mangos_spell_proc_item_enchant.sql \
|
||||
10786_02_mangos_spell_proc_event.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -230,4 +232,6 @@ EXTRA_DIST = \
|
|||
10749_01_mangos_mangos_string.sql \
|
||||
10762_01_mangos_spell_proc_event.sql \
|
||||
10764_01_mangos_spell_proc_event.sql \
|
||||
10786_01_mangos_spell_proc_item_enchant.sql \
|
||||
10786_02_mangos_spell_proc_event.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10785"
|
||||
#define REVISION_NR "10786"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_10664_01_characters_arena_team_stats"
|
||||
#define REVISION_DB_MANGOS "required_10764_01_mangos_spell_proc_event"
|
||||
#define REVISION_DB_MANGOS "required_10786_02_mangos_spell_proc_event"
|
||||
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue