diff options
author | Nevan <none@none> | 2009-08-03 23:16:56 +0200 |
---|---|---|
committer | Nevan <none@none> | 2009-08-03 23:16:56 +0200 |
commit | 2c33800661bf63ab57eb19ffe588d0fcfee1ed9e (patch) | |
tree | 77d16a6aef71b97673343ceb4d916f53f20eb5b6 | |
parent | e51a4a8196404986994fcb76194feb670bd5d593 (diff) |
*Fix Shaman T8 Bonus
*Added Polymorph Glyph to world_spell_full.sql
--HG--
branch : trunk
-rw-r--r-- | sql/FULL/world_spell_full.sql | 4 | ||||
-rw-r--r-- | sql/updates/4742_world_spell_proc_event.sql | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 8 |
3 files changed, 12 insertions, 2 deletions
diff --git a/sql/FULL/world_spell_full.sql b/sql/FULL/world_spell_full.sql index d298c3d7b95..d3820264656 100644 --- a/sql/FULL/world_spell_full.sql +++ b/sql/FULL/world_spell_full.sql @@ -1496,7 +1496,9 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell ( 53238, 0x00, 9, 0x00020000, 0x00000001, 0x00000001, 0x00000000, 0x00000002, 0, 0, 0), -- Piercing Shots (Rank 3) ( 56636, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6), -- Taste for Blood (Rank 1) ( 56637, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6), -- Taste for Blood (Rank 2) -( 56638, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6); -- Taste for Blood (Rank 3) +( 56638, 0x00, 4, 0x00000020, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 6), -- Taste for Blood (Rank 3) +( 56375, 0x00, 3, 0x01000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0), -- Glyphs of Polymorph +( 64928, 0x00, 11, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0); -- Item - Shaman T8 Elemental 4P Bonus -- -------- -- ENCHANT PROC diff --git a/sql/updates/4742_world_spell_proc_event.sql b/sql/updates/4742_world_spell_proc_event.sql new file mode 100644 index 00000000000..e4a3bcd6d17 --- /dev/null +++ b/sql/updates/4742_world_spell_proc_event.sql @@ -0,0 +1,2 @@ +DELETE FROM `spell_proc_event` WHERE (`entry`='64928'); +INSERT INTO `spell_proc_event` (`entry`, `SpellFamilyName`, `SpellFamilyMask0`, `procEx`) VALUES (64928, 11, 0x00000001, 0x00000002); diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f36685b53c6..35fb3a5381c 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -6442,7 +6442,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger case SPELLFAMILY_SHAMAN: { switch(dummySpell->Id) - { + {
// Shaman T8 Elemental 4P Bonus + case 64928: + { + basepoints0 = int32( damage*0.08 ); + triggered_spell_id = 64930; + break; + } // Improved fire nova totem case 16544: { |