Fix Shaman T10 Ele 2P. Big thanks to Dr.Tenma!!!

Fix Warrior T10 Melee 2P.

--HG--
branch : trunk
This commit is contained in:
John Holiver
2010-08-24 01:01:46 -03:00
parent 4c382c0b98
commit fcebd3117a
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -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)
@@ -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
+5 -1
View File
@@ -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;
}
}