aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-04-15 21:51:53 +0200
committerTrazom62 <none@none>2010-04-15 21:51:53 +0200
commit81d5a23b373bd18101824e2a085f6fa56c9fd5dc (patch)
tree5ae674df65b7e0eca0892eaf0f4d017420293694
parent9b90c343e422009128bab2c4d1e91a1cc076e37a (diff)
Fix Threat of Thassarian. Thanks Azuritus.
Fixes issue #1657. --HG-- branch : trunk
-rw-r--r--sql/updates/7922_world_spell_proc_event.sql5
-rw-r--r--sql/world.sql4
-rw-r--r--src/game/Unit.cpp2
3 files changed, 9 insertions, 2 deletions
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 00000000000..d7ab91f9045
--- /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 dbd9c251e15..ea0074b0fcf 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 a8bee4ecca5..08de8e750c0 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