From 81d5a23b373bd18101824e2a085f6fa56c9fd5dc Mon Sep 17 00:00:00 2001 From: Trazom62 Date: Thu, 15 Apr 2010 21:51:53 +0200 Subject: [PATCH] Fix Threat of Thassarian. Thanks Azuritus. Fixes issue #1657. --HG-- branch : trunk --- sql/updates/7922_world_spell_proc_event.sql | 5 +++++ sql/world.sql | 4 +++- src/game/Unit.cpp | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 sql/updates/7922_world_spell_proc_event.sql diff --git a/sql/updates/7922_world_spell_proc_event.sql b/sql/updates/7922_world_spell_proc_event.sql new file mode 100644 index 0000000000..d7ab91f904 --- /dev/null +++ b/sql/updates/7922_world_spell_proc_event.sql @@ -0,0 +1,5 @@ +DELETE FROM `spell_proc_event` WHERE `entry` IN (66191,66192); +INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES +(66191, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0), -- Threat of Thassarian (Rank 2) +(66192, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0); -- Threat of Thassarian (Rank 3) + diff --git a/sql/world.sql b/sql/world.sql index dbd9c251e1..ea0074b0fc 100644 --- a/sql/world.sql +++ b/sql/world.sql @@ -7104,7 +7104,9 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam ( 54832, 0x00, 7, 0x00000000, 0x00001000, 0x00000000, 0x00004000, 0x00000000, 0, 0, 0), -- Glyph of Innervate ( 67353, 0x00, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- uncommented ( 57989, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000000, 0, 0, 0), -- uncommented -( 65661, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0), -- uncommented +( 65661, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0), -- Threat of Thassarian (Rank 1) +( 66191, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0), -- Threat of Thassarian (Rank 2) +( 66192, 0x00, 15, 0x00400010, 0x20020004, 0x00000000, 0x00000010, 0x00000000, 0, 100, 0), -- Threat of Thassarian (Rank 3) ( 53601, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x000A02A8, 0x00000000, 0, 0, 6), -- Sacred Shield (Rank 1) ( 58375, 0x00, 4, 0x00000000, 0x00000200, 0x00000000, 0x00000010, 0x00000000, 0, 0, 0), -- Glyph of Blocking ( 58387, 0x00, 4, 0x00004000, 0x00000040, 0x00000000, 0x00000010, 0x00000000, 0, 0, 0), -- Glyph of Sunder Armor diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a8bee4ecca..08de8e750c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7277,7 +7277,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger case 51417: triggered_spell_id = 66959; break; // Rank 3 case 51418: triggered_spell_id = 66960; break; // Rank 4 case 51419: triggered_spell_id = 66961; break; // Rank 5 - case 51420: triggered_spell_id = 66962; break; // Rank 6 + case 55268: triggered_spell_id = 66962; break; // Rank 6 // Plague Strike case 45462: triggered_spell_id = 66216; break; // Rank 1