diff options
-rw-r--r-- | sql/base/world_database.sql | 1 | ||||
-rw-r--r-- | sql/updates/9560_world_spell_proc_event.sql | 3 | ||||
-rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 6 |
3 files changed, 9 insertions, 1 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index d3a6d050310..4e1bbe4e3c2 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -7437,6 +7437,7 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam ( 70807, 0x00, 11, 0x00000000, 0x00000000, 0x00000010, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Shaman T10 Restoration 2P Bonus ( 70830, 0x00, 11, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Shaman T10 Enhancement 2P Bonus ( 70841, 0x00, 5, 0x00000004, 0x00000100, 0x00000000, 0x00040000, 0x00000000, 0, 0, 0), -- Item - Warlock T10 4P Bonus +( 70854, 0x00, 4, 0x00000000, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Warrior T10 Melee 2P Bonus ( 71176, 0x00, 7, 0x00200002, 0x00000000, 0x00000000, 0x00040000, 0x00000000, 0, 0, 0), -- Item - Druid T10 Balance Relic (Moonfire and Insect Swarm) ( 71178, 0x00, 7, 0x00000010, 0x00000000, 0x00000000, 0x00040000, 0x00000000, 0, 0, 0), -- Item - Druid T10 Restoration Relic (Rejuvenation) ( 71186, 0x00, 10, 0x00000000, 0x00008000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Item - Paladin T10 Retribution Relic (Crusader Strike) diff --git a/sql/updates/9560_world_spell_proc_event.sql b/sql/updates/9560_world_spell_proc_event.sql new file mode 100644 index 00000000000..07779e9e50d --- /dev/null +++ b/sql/updates/9560_world_spell_proc_event.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_proc_event` WHERE `entry`=70854; +INSERT INTO `spell_proc_event` VALUES +( 70854, 0x00, 4, 0x00000000, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0); -- Item - Warrior T10 Melee 2P Bonus
\ No newline at end of file diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index a880230816b..ffa95ba218f 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -7367,7 +7367,11 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger if (newCooldownDelay < 0) newCooldownDelay = 0; ToPlayer()->AddSpellCooldown(16166,0, uint32(time(NULL) + newCooldownDelay)); - //TODO: need to send CD decrease to client + WorldPacket data(SMSG_MODIFY_COOLDOWN, 4+8+4); + data << uint32(16166); // Spell ID + data << uint64(GetGUID()); // Player GUID + data << int32(-2000); // Cooldown mod in milliseconds + ToPlayer()->GetSession()->SendPacket(&data); return true; } } |